mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2024-09-19 02:12:18 +02:00
fix: include a complete fastcgi_params config
This commit is contained in:
parent
1b4a3b036b
commit
8e372c39c2
@ -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