parent
40d433ae80
commit
39cea24f68
1 changed files with 4 additions and 2 deletions
|
@ -168,7 +168,8 @@ server {
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
{{ if eq $proto "uwsgi" }}
|
{{ if eq $proto "custom" }}
|
||||||
|
{{ else if eq $proto "uwsgi" }}
|
||||||
include uwsgi_params;
|
include uwsgi_params;
|
||||||
uwsgi_pass {{ trim $proto }}://{{ trim $host }};
|
uwsgi_pass {{ trim $proto }}://{{ trim $host }};
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
@ -202,7 +203,8 @@ server {
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
{{ if eq $proto "uwsgi" }}
|
{{ if eq $proto "custom" }}
|
||||||
|
{{ else if eq $proto "uwsgi" }}
|
||||||
include uwsgi_params;
|
include uwsgi_params;
|
||||||
uwsgi_pass {{ trim $proto }}://{{ trim $host }};
|
uwsgi_pass {{ trim $proto }}://{{ trim $host }};
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
Loading…
Reference in a new issue