created standard php configuration for calling php scripts.
updated default fastcgi_params to include PATH_INFO and SCRIPT_FILENAME.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#######
|
||||
### 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;
|
||||
Reference in New Issue
Block a user