nginx-basic/etc/nginx/snippets/php.conf

17 lines
357 B
Plaintext
Raw Permalink Normal View History

#######
### NGINX configuration - PHP configuration
#######
include /etc/nginx/fastcgi_params;
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
fastcgi_cache_valid 404 1m;
fastcgi_cache_valid any 1h;
fastcgi_cache_methods GET HEAD;
fastcgi_pass php-handler;