Created
April 8, 2017 16:09
-
-
Save MiguelTVMS/2c462fc125552036c0557d2290e8d571 to your computer and use it in GitHub Desktop.
Rodando NG_PageSpeed & Nginx utilizando Docker - Código 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Estas são as configurações que utilizamos no nginx. | |
ENV NGX_LOGLEVEL debug | |
ENV NGX_UPSTREAM_NAME www.google.com | |
ENV NGX_UPSTREAM_SERVER www.google.com:80 | |
# Estas são as configurações que utilizaremos no PageS | |
ENV NPS_ENABLED on | |
ENV NPS_LOWERCASEHTMLNAMES on | |
ENV NPS_RESPECTVARY off | |
ENV NPS_DISABLEREWRITEONNOTRANSFORM on | |
ENV NPS_MODIFYCACHINGHEADERS on | |
ENV NPS_XHEADERVALUE "Powered By jmtvms/ngx_pagespeed" | |
ENV NPS_ENABLEFILTERS rewrite_javascript,move_css_to_head,rewrite_css,combine_css,combine_javascript,collapse_whitespace,dedup_inlined_images,elide_attributes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment