mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-22 03:46:29 +00:00
fix fastcgi bug
This commit is contained in:
parent
1c7ccc473f
commit
59aa78a4a6
@ -325,7 +325,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