Add fcgicache nginx config block for global use
This commit is contained in:
parent
8a8426e5d4
commit
310a8373ae
@ -259,3 +259,9 @@
|
||||
- ssl_session_timeout 1d
|
||||
- ssl_session_cache shared:SSL:50m
|
||||
- ssl_session_tickets off
|
||||
fcgicache:
|
||||
- fastcgi_cache_path "/var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:100m inactive=60m"
|
||||
- fastcgi_cache_key "$scheme$request_method$host$request_uri"
|
||||
- fastcgi_cache_use_stale error timeout invalid_header http_500
|
||||
- fastcgi_ignore_headers Cache-Control Expires Set-Cookie
|
||||
- add_header rt-Fastcgi-Cache $upstream_cache_status
|
||||
|
Loading…
Reference in New Issue
Block a user