Remove basic auth on static nginx sites

This commit is contained in:
Kris Lamoureux 2022-08-17 01:40:11 -04:00
parent 85a6c3894a
commit e4fed78193
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -29,7 +29,7 @@
- "{{ nginx_html }}:/usr/share/nginx/html:ro"
labels:
traefik.http.routers.nginx.rule: "Host(`{{ nginx_domain }}`)"
traefik.http.middlewares.nginxauth.basicauth.users: "{{ nginx_auth }}"
#traefik.http.middlewares.nginxauth.basicauth.users: "{{ nginx_auth }}"
traefik.http.routers.nginx.entrypoints: websecure
traefik.http.routers.nginx.tls.certresolver: letsencrypt
traefik.http.routers.nginx.middlewares: "securehttps@file,nginxauth"