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 committed Sep 27, 2016
1 parent 0670a13 commit 360e006
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 @@ -101,6 +101,7 @@ upstream {{ $host }} {
{{ end }}
{{ end }}
{{ end }}
server localhost down;
}

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

0 comments on commit 360e006

Please sign in to comment.