Using nginx proxy basic auth instead

This commit is contained in:
Kris Lamoureux 2022-11-17 00:09:18 -05:00
parent 0b23966f6e
commit 36d4ca2e6d
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -41,7 +41,7 @@
- name: traefik
labels:
traefik.http.routers.traefik.rule: "Host(`{{ traefik_domain }}`)"
traefik.http.middlewares.auth.basicauth.users: "{{ traefik_auth }}"
#traefik.http.middlewares.auth.basicauth.users: "{{ traefik_auth }}"
traefik.http.middlewares.localonly.ipwhitelist.sourcerange: "{{ traefik_localonly }}"
traefik.http.routers.traefik.tls.certresolver: letsencrypt
traefik.http.routers.traefik.middlewares: "securehttps@file,auth@docker,localonly"