Using for public sites

This commit is contained in:
Kris Lamoureux 2022-11-17 00:17:53 -05:00
parent 36d4ca2e6d
commit a68ef1fffc
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"