Skip to content

Commit

Permalink
Enable caddy debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsV2 committed Sep 6, 2020
1 parent c0e3063 commit 1742011
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-gen/templates/Caddyfile.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{{ $hosts := groupByLabel $ "virtual.host" }}

{{ if not $hosts }}
debug

{{ if not $hosts }}
127.0.0.1:2015
log {
output stdout
Expand Down Expand Up @@ -57,4 +58,4 @@ log {
{{ end }}
{{ end }}

{{ end }}
{{ end }}

0 comments on commit 1742011

Please sign in to comment.