Skip to content

Instantly share code, notes, and snippets.

@solancer
Created March 19, 2019 23:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save solancer/2ae10c1f38e1b2cdfd05e81d0b94400b to your computer and use it in GitHub Desktop.
Save solancer/2ae10c1f38e1b2cdfd05e81d0b94400b to your computer and use it in GitHub Desktop.
nginx Page Speed Binary Build Notes
bash <(curl -f -L -sS https://ngxpagespeed.com/install) \
--nginx-version "1.12.1" \
--dynamic \
-a '--with-http_ssl_module
--with-http_realip_module
--with-http_dav_module
--with-http_gzip_static_module
--with-http_gunzip_module
--with-threads
--with-cc-opt="-DNGX_HTTP_HEADERS"'
https://www.nginx.com/blog/optimize-website-google-pagespeed-dynamic-module-nginx-plus/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment