always add server to upstream (hot)fix #438 #565

This commit is contained in:
Tobias Munk 2016-09-27 13:56:46 +02:00
parent 68816390ee
commit b3df03cb4f

View file

@ -125,6 +125,7 @@ upstream {{ $upstream_name }} {
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ end }} {{ end }}
server localhost down;
} }
{{ $default_host := or ($.Env.DEFAULT_HOST) "" }} {{ $default_host := or ($.Env.DEFAULT_HOST) "" }}