1
0
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:
耐小心 2018-03-30 09:47:57 +08:00
parent 556b3364fb
commit 1c7ccc473f

View File

@ -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 }};