replace
include fastcgi_params;
with
include fastcgi.conf;
and remove fastcgi_param SCRIPT_FILENAME … in nginx.conf
More Related Contents:
- Nginx 403 forbidden for all files
- Error 502 in nginx + php5-fpm
- http request has been block from https
- Nginx: Redirect non-www to www https
- Nginx serves .php files as downloads, instead of executing them
- A little confused about trailing slash behavior in nginx
- Nginx location configuration (subfolders)
- Nginx location priority
- Kubernetes service external ip pending
- recommended nginx configuration for meteor
- How do I rewrite URLs in a proxy response in NGINX
- Setup nginx not to crash if host in upstream is not found
- Nginx pass_proxy subdirectory without url decoding
- Change PHP version used by Composer on Windows
- nginx error connect to php5-fpm.sock failed (13: Permission denied)
- Prevent nginx 504 Gateway timeout using PHP set_time_limit()
- 413 Request Entity Too Large – File Upload Issue
- nginx docker container: 502 bad gateway response
- How to correctly link php-fpm and Nginx Docker containers?
- Nginx Different Domains on Same IP
- Socket.io with nginx
- Configure nginx with multiple locations with different root folders on subdomain
- How to add a response header on nginx when using proxy_pass?
- nginx – read custom header from upstream server
- “proxy_pass” cannot have URI part in location given by regular expression
- Nginx: Reject request if header is not present or wrong
- nginx add headers when returning 400 codes
- nginx redirect HTTPS to HTTP
- SSL Pass-Through in Nginx Reverse proxy?
- Assigning vhosts to Docker ports