XenForo Forum with Nginx fastcgi_cache full page guest caching

xF1 Guides XenForo Forum with Nginx fastcgi_cache full page guest caching

Add: fastcgi_cache_lock on;
Restricts the number of concurrent attempts to populate the cache, so that when a cached entry is being created, further requests for that resource are queued up in NGINX.
For ngx_pagespeed users, add to your config "pagespeed ModifyCachingHeaders off;".
fastcgi_cache_path /var/run/nginx_fastcgi_cache levels=1:2 keys_zone=fastcgicache:200m inactive=30m;
Added:
Code:
#add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;

For HTTP Strict Transport Security (HSTS).
More info why it's needed to be added again: https://www.nginx.com/blog/http-strict-transport-security-hsts-and-nginx/
731Threads
2,287Messages
63,990Members
mannooLatest member
Back