Skip to content

Commit

Permalink
always add server to upstream (hot)fix nginx-proxy#438 nginx-proxy#565
Browse files Browse the repository at this point in the history
  • Loading branch information
schmunk42 authored and colinodell committed Mar 14, 2017
1 parent d5deff2 commit 82338ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ upstream {{ $upstream_name }} {
{{ end }}
{{ end }}
{{ end }}
server localhost down;
}

{{ $default_host := or ($.Env.DEFAULT_HOST) "" }}
Expand Down

0 comments on commit 82338ae

Please sign in to comment.