diff --git a/overlay/usr/local/etc/nginx/conf.d/wordpress.conf.template b/overlay/usr/local/etc/nginx/conf.d/wordpress.conf.template index 4bece8b..821e2fe 100644 --- a/overlay/usr/local/etc/nginx/conf.d/wordpress.conf.template +++ b/overlay/usr/local/etc/nginx/conf.d/wordpress.conf.template @@ -28,14 +28,14 @@ server { # Pagespeed is supported by Wordpress, so if your server is built # with the `ngx_pagespeed` module, uncomment this line to enable it. - pagespeed on; - pagespeed RedisServer "localhost:6379"; - pagespeed LRUCacheKbPerProcess 8192; - pagespeed LRUCacheByteLimit 16384; - pagespeed CreateSharedMemoryMetadataCache "/var/cache/pagespeed/" 51200; - location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; } - location ~ "^/ngx_pagespeed_static/" { } - location ~ "^/ngx_pagespeed_beacon$" { } + #pagespeed on; + #pagespeed RedisServer "localhost:6379"; + #pagespeed LRUCacheKbPerProcess 8192; + #pagespeed LRUCacheByteLimit 16384; + #pagespeed CreateSharedMemoryMetadataCache "/var/cache/pagespeed/" 51200; + #location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" { add_header "" ""; } + #location ~ "^/ngx_pagespeed_static/" { } + #location ~ "^/ngx_pagespeed_beacon$" { } # HTTP response headers borrowed from Nextcloud `.htaccess` add_header Referrer-Policy "no-referrer" always;