changes to http auth

This commit is contained in:
alpcentaur 2021-04-19 14:55:41 +00:00
parent 36243ba359
commit 07839652e3

View file

@ -101,7 +101,7 @@ services:
- traefik.http.routers.nextcloud.rule=Host(`oleola.ddns.net`)
- traefik.http.middlewares.nextcloud.headers.customRequestHeaders.X-Forwarded-Proto=https
- traefik.http.routers.nextcloud.middlewares=nextcloud,nextcloud_redirect, next-auth
- traefik.http.middlewares.next-auth.basicauth.users=luca:$$2y$$05$$DnZh.HwnTfrmVhgrFdZ9bu86fyZ6/1HNRgaCTxOyrHGOFNFw5AYlm
# - traefik.http.middlewares.next-auth.basicauth.users=<output>
- traefik.http.middlewares.nextcloud.headers.stsSeconds=155520011
- traefik.http.middlewares.nextcloud.headers.stsIncludeSubdomains=true
- traefik.http.middlewares.nextcloud.headers.stsPreload=true
@ -153,7 +153,7 @@ services:
# - "traefik.http.routers.deb-rust-sncf.rule=Host(`example.org`)"
# - "traefik.http.services.deb-rust-sncf.loadbalancer.server.port=8000"
# - "traefik.http.routers.deb-rust-sncf.middlewares=sncf, sncf-auth"
# - "traefik.http.middlewares.sncf-auth.basicauth.users=luca:$$2y$$05$$DnZh.HwnTfrmVhgrFdZ9bu86fyZ6/1HNRgaCTxOyrHGOFNFw5AYlm"
# - "traefik.http.middlewares.sncf-auth.basicauth.users=<output>
# - "traefik.http.middlewares.sncf.headers.customRequestHeaders.X-Forwarded-Proto=https"
# - "traefik.http.middlewares.sncf.headers.stsSeconds=155520011"
# - "traefik.http.middlewares.sncf.headers.stsIncludeSubdomains=true"