nginx-basic/etc/nginx/conf.d/optimizePHP.conf

9 lines
270 B
Plaintext
Raw Normal View History

2019-01-04 03:39:55 -07:00
#######
### NGINX configuration - PHP optimization
#######
fastcgi_read_timeout 300;
fastcgi_cache_key $http_cookie$request_method$host$request_uri;
fastcgi_cache_use_stale error timeout invalid_header http_500;
fastcgi_ignore_headers Cache-Control Expires Set-Cookie;