1
0
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:
耐小心 2018-04-17 21:52:58 +08:00
parent 1c7ccc473f
commit 59aa78a4a6

View File

@ -325,7 +325,7 @@ server {
uwsgi_pass {{ trim $proto }}://{{ trim $upstream_name }};
{{ else if eq $proto "fastcgi" }}
root {{ trim $vhost_root }};
include fastcgi.conf;
include fastcgi_params;
fastcgi_pass {{ trim $upstream_name }};
{{ else }}
proxy_pass {{ trim $proto }}://{{ trim $upstream_name }};