Merge pull request #1244 from aledbf/add-custom-backend-annotation
Add custom default backend annotation
This commit is contained in:
commit
b791460206
10 changed files with 270 additions and 17 deletions
|
|
@ -415,7 +415,8 @@ http {
|
|||
fastcgi_param HTTP_X_Endpoints {{ .DefaultBackendEndpoints }};
|
||||
fastcgi_pass unix:/var/run/go-fastcgi.sock;
|
||||
{{ else }}
|
||||
return 404;
|
||||
set $proxy_upstream_name "upstream-default-backend";
|
||||
proxy_pass http://upstream-default-backend;
|
||||
{{ end }}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue