mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 09:48:14 +00: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…
x
Reference in New Issue
Block a user