Initialize proxy_upstream_name variable
This commit is contained in:
parent
e74b8039a5
commit
75dd1d3c6a
1 changed files with 5 additions and 3 deletions
|
@ -314,6 +314,7 @@ http {
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
set $proxy_upstream_name "upstream-default-backend";
|
||||||
proxy_pass http://upstream-default-backend;
|
proxy_pass http://upstream-default-backend;
|
||||||
}
|
}
|
||||||
{{- template "CUSTOM_ERRORS" $cfg }}
|
{{- template "CUSTOM_ERRORS" $cfg }}
|
||||||
|
@ -322,6 +323,7 @@ http {
|
||||||
# default server for services without endpoints
|
# default server for services without endpoints
|
||||||
server {
|
server {
|
||||||
listen 8181;
|
listen 8181;
|
||||||
|
set $proxy_upstream_name "-";
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
{{ if .customErrors }}
|
{{ if .customErrors }}
|
||||||
|
|
Loading…
Reference in a new issue