Created
July 31, 2016 09:52
-
-
Save ilokano/cf737d03e5dc20c279a50cd4fc18b233 to your computer and use it in GitHub Desktop.
Default pagespeed conf file for NGINX server, to be placed in http block. Save in /etc/nginx/conf.d/
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
pagespeed on; | |
pagespeed FileCachePath "/var/ngx_pagespeed_cache"; | |
pagespeed FileCacheSizeKb 102400; | |
pagespeed FileCacheCleanIntervalMs 3600000; | |
pagespeed FileCacheInodeLimit 500000; | |
pagespeed LRUCacheKbPerProcess 8192; | |
pagespeed LRUCacheByteLimit 16384; | |
pagespeed EnableCachePurge on; | |
pagespeed MemcachedServers "127.0.0.1:11211"; | |
pagespeed PreserveUrlRelativity on; | |
pagespeed RewriteLevel OptimizeForBandwidth; | |
pagespeed LowercaseHtmlNames on; | |
#pagespeed RespectXForwardedProto on; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment