Add possibility to enable access log in proxy

This commit is contained in:
Florian Zirker 2021-03-27 23:04:05 +01:00
parent acab2ebfdf
commit 95b541aefc

View file

@ -17,6 +17,7 @@ services:
- "--providers.docker.exposedbydefault=false"
- "--providers.docker.network=web"
#- "--log.level=DEBUG"
- "--accesslog=true"
- "--entrypoints.web.address=:80"
- "--entrypoints.web.http.redirections.entrypoint.to=websecure"
- "--entrypoints.web.http.redirections.entrypoint.scheme=https"
@ -57,7 +58,7 @@ services:
# - "traefik.enable=true"
# - "traefik.http.routers.whoami.rule=Host(`whoami.${DOMAIN}`)"
# - "traefik.http.routers.whoami.entrypoints=websecure"
# - "traefik.http.routers.whoami.tls.certresolver=netcup
# - "traefik.http.routers.whoami.tls.certresolver=netcup"
# restart: unless-stopped