Coder Social home page Coder Social logo

Comments (8)

cryptofuture avatar cryptofuture commented on June 2, 2024

I would just go ahead and uncomment the module and it gets activated, right?

Yes, also you will see instructions after installing submodule

The Brotli compression is enabled automagically right?

No

from nginx-hda-bundle.

pramathesh avatar pramathesh commented on June 2, 2024

Oh, so I've to install the sub-module and then uncomment the module which needs to be activated? Any guide on how to install a sub-module. Guessing the process will the same for every other module moving on that I need to activate.

Apologies if I come across as naive, I'm trying to learn :)

How do I enable Brotli?

EDIT:

Just figured that it is a simple apt-install process for the submodules and then uncomment and reload nginx to have it functioning. Now where will I get the apt-install 'module-names' from? Also, which modules would you recommend as a must have for WooCommerce/WP Setup?

from nginx-hda-bundle.

cryptofuture avatar cryptofuture commented on June 2, 2024

Check packages names at the bottom of the page:

https://launchpad.net/%7Ehda-me/+archive/ubuntu/nginx-stable

from nginx-hda-bundle.

pramathesh avatar pramathesh commented on June 2, 2024

Turns out I only need Brotli and Pagespeed for my usage. Also, I'm facing an error
'nginx: [emerg] unknown directive "brotli_static" in /etc/nginx/nginx.conf:59'

Could you please help me resolve this, it seems this has been discussed earlier too but it isn't working for me atm.

PS: I know this is a cardinal sin, but any ETA for the latest version which supports http2_push

EDIT: nginx: [emerg] "deny" directive FileCachePath must be set, even for standby in /etc/nginx/nginx.conf:121
Getting this error after setting pagespeed on;

from nginx-hda-bundle.

cryptofuture avatar cryptofuture commented on June 2, 2024
load_module modules/ngx_http_brotli_filter_module.so;
# ngx_brotli static module - used to serve pre-compressed files.
# Both ngx_brotli modules could be used separately, but part of nginx-module-brotli package
load_module modules/ngx_http_brotli_static_module.so;

from nginx-hda-bundle.

pramathesh avatar pramathesh commented on June 2, 2024

That fixed it! Thank you once again for being so patient and helping me learn along the way. I noticed the link to the project for bortli mentioned on your launchpad page hasn't been updated well over a year. I've found another project that gets updated very frequently and can be found here, are these the same as the ones used in your project or differnt things?

https://github.com/eustas/ngx_brotli

PS: Looking forward to the newest version of NGINX
Also, do you recommend any configuration settings for WordPress for NGINX?

from nginx-hda-bundle.

cryptofuture avatar cryptofuture commented on June 2, 2024

Bundle already use https://github.com/eustas/ngx_brotli
Launchpad page might be not updated.
IDK I didn't used WP in years. All software is just static generated pages and node applications for me most of the time.

from nginx-hda-bundle.

pramathesh avatar pramathesh commented on June 2, 2024

Sweet! The launchpad version still directs to ngx_google just typing this out here for anyone who check this in the future.

Thank You once again :)

from nginx-hda-bundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.