Skip to content

Instantly share code, notes, and snippets.

@mrnonz
Last active September 4, 2018 07:00
Show Gist options
  • Select an option

  • Save mrnonz/72ba0fdc8d1c083e503ad61a4b323f81 to your computer and use it in GitHub Desktop.

Select an option

Save mrnonz/72ba0fdc8d1c083e503ad61a4b323f81 to your computer and use it in GitHub Desktop.

Revisions

  1. mrnonz revised this gist Sep 4, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion add-ngx-pagespeed.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    bash <(curl -f -L -sS -k https://ngxpagespeed.com/install) \
    --nginx-version "1.14.0" \
    --nginx-version "{version}" \
    --dynamic \
    -a '--with-http_ssl_module
    --with-http_realip_module
  2. mrnonz revised this gist Sep 4, 2018. No changes.
  3. mrnonz created this gist Sep 4, 2018.
    10 changes: 10 additions & 0 deletions add-ngx-pagespeed.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    bash <(curl -f -L -sS -k https://ngxpagespeed.com/install) \
    --nginx-version "1.14.0" \
    --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"'