Add possibility to enable access log in proxy
This commit is contained in:
parent
acab2ebfdf
commit
95b541aefc
1 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ services:
|
||||||
- "--providers.docker.exposedbydefault=false"
|
- "--providers.docker.exposedbydefault=false"
|
||||||
- "--providers.docker.network=web"
|
- "--providers.docker.network=web"
|
||||||
#- "--log.level=DEBUG"
|
#- "--log.level=DEBUG"
|
||||||
|
- "--accesslog=true"
|
||||||
- "--entrypoints.web.address=:80"
|
- "--entrypoints.web.address=:80"
|
||||||
- "--entrypoints.web.http.redirections.entrypoint.to=websecure"
|
- "--entrypoints.web.http.redirections.entrypoint.to=websecure"
|
||||||
- "--entrypoints.web.http.redirections.entrypoint.scheme=https"
|
- "--entrypoints.web.http.redirections.entrypoint.scheme=https"
|
||||||
|
@ -57,7 +58,7 @@ services:
|
||||||
# - "traefik.enable=true"
|
# - "traefik.enable=true"
|
||||||
# - "traefik.http.routers.whoami.rule=Host(`whoami.${DOMAIN}`)"
|
# - "traefik.http.routers.whoami.rule=Host(`whoami.${DOMAIN}`)"
|
||||||
# - "traefik.http.routers.whoami.entrypoints=websecure"
|
# - "traefik.http.routers.whoami.entrypoints=websecure"
|
||||||
# - "traefik.http.routers.whoami.tls.certresolver=netcup
|
# - "traefik.http.routers.whoami.tls.certresolver=netcup"
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue