mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-26 05:46:30 +00:00
fix fastcgi bug
This commit is contained in:
parent
556b3364fb
commit
1c7ccc473f
@ -278,7 +278,7 @@ server {
|
|||||||
uwsgi_pass {{ trim $proto }}://{{ trim $upstream_name }};
|
uwsgi_pass {{ trim $proto }}://{{ trim $upstream_name }};
|
||||||
{{ else if eq $proto "fastcgi" }}
|
{{ else if eq $proto "fastcgi" }}
|
||||||
root {{ trim $vhost_root }};
|
root {{ trim $vhost_root }};
|
||||||
include fastcgi.conf;
|
include fastcgi_params;
|
||||||
fastcgi_pass {{ trim $upstream_name }};
|
fastcgi_pass {{ trim $upstream_name }};
|
||||||
{{ else }}
|
{{ else }}
|
||||||
proxy_pass {{ trim $proto }}://{{ trim $upstream_name }};
|
proxy_pass {{ trim $proto }}://{{ trim $upstream_name }};
|
||||||
|
Loading…
Reference in New Issue
Block a user