diff --git a/nginx.tmpl b/nginx.tmpl index bf92ff0..38d3904 100644 --- a/nginx.tmpl +++ b/nginx.tmpl @@ -102,7 +102,9 @@ upstream {{ $host }} { {{ end }} {{ end }} - keepalive 10; + {{ if (exists "/etc/nginx/upstream/default") }} + include /etc/nginx/upstream/default; + {{ end }} } {{ $default_host := or ($.Env.DEFAULT_HOST) "" }}