This commit is contained in:
Alireza Davoodi 2021-06-09 08:54:02 +02:00 committed by GitHub
commit 57fcc673a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -208,6 +208,10 @@ upstream {{ $upstream_name }} {
# Fallback entry
server 127.0.0.1 down;
{{ end }}
{{ if (exists "/etc/nginx/upstream/default") }}
include /etc/nginx/upstream/default;
{{ end }}
}
{{ $default_host := or ($.Env.DEFAULT_HOST) "" }}