added PHP optimization configuration
This commit is contained in:
parent
43f0b500d3
commit
ecf6a46181
8
etc/nginx/conf.d/optimizePHP.conf
Normal file
8
etc/nginx/conf.d/optimizePHP.conf
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#######
|
||||||
|
### 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;
|
Loading…
Reference in New Issue
Block a user