mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2024-11-08 15:59:17 +01:00
Merge pull request #2449 from nginx-proxy/fix-fastcgi
fix: include a complete fastcgi_params config
This commit is contained in:
commit
57501eb13f
@ -265,7 +265,7 @@
|
|||||||
uwsgi_pass {{ trim $proto }}://{{ trim $upstream }};
|
uwsgi_pass {{ trim $proto }}://{{ trim $upstream }};
|
||||||
{{- else if eq $proto "fastcgi" }}
|
{{- else if eq $proto "fastcgi" }}
|
||||||
root {{ trim .VhostRoot }};
|
root {{ trim .VhostRoot }};
|
||||||
include fastcgi_params;
|
include fastcgi.conf;
|
||||||
fastcgi_pass {{ trim $upstream }};
|
fastcgi_pass {{ trim $upstream }};
|
||||||
{{- if ne $keepalive "disabled" }}
|
{{- if ne $keepalive "disabled" }}
|
||||||
fastcgi_keep_conn on;
|
fastcgi_keep_conn on;
|
||||||
|
Loading…
Reference in New Issue
Block a user