Browse Source

changes to http auth

master
alpcentaur 3 years ago
parent
commit
07839652e3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      docker/compose/docker-compose.yml

+ 2
- 2
docker/compose/docker-compose.yml View File

@ -101,7 +101,7 @@ services:
- traefik.http.routers.nextcloud.rule=Host(`oleola.ddns.net`) - traefik.http.routers.nextcloud.rule=Host(`oleola.ddns.net`)
- traefik.http.middlewares.nextcloud.headers.customRequestHeaders.X-Forwarded-Proto=https - traefik.http.middlewares.nextcloud.headers.customRequestHeaders.X-Forwarded-Proto=https
- traefik.http.routers.nextcloud.middlewares=nextcloud,nextcloud_redirect, next-auth - 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.stsSeconds=155520011
- traefik.http.middlewares.nextcloud.headers.stsIncludeSubdomains=true - traefik.http.middlewares.nextcloud.headers.stsIncludeSubdomains=true
- traefik.http.middlewares.nextcloud.headers.stsPreload=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.routers.deb-rust-sncf.rule=Host(`example.org`)"
# - "traefik.http.services.deb-rust-sncf.loadbalancer.server.port=8000" # - "traefik.http.services.deb-rust-sncf.loadbalancer.server.port=8000"
# - "traefik.http.routers.deb-rust-sncf.middlewares=sncf, sncf-auth" # - "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.customRequestHeaders.X-Forwarded-Proto=https"
# - "traefik.http.middlewares.sncf.headers.stsSeconds=155520011" # - "traefik.http.middlewares.sncf.headers.stsSeconds=155520011"
# - "traefik.http.middlewares.sncf.headers.stsIncludeSubdomains=true" # - "traefik.http.middlewares.sncf.headers.stsIncludeSubdomains=true"

Loading…
Cancel
Save