nginx-basic/etc/nginx/snippets/php.conf
Asif Bacchus ea3997cec8 created standard php configuration for calling php scripts.
updated default fastcgi_params to include PATH_INFO and SCRIPT_FILENAME.
2019-01-04 04:14:40 -07:00

17 lines
357 B
Plaintext

#######
### 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;