Remove basic auth on static nginx sites
This commit is contained in:
parent
85a6c3894a
commit
e4fed78193
@ -29,7 +29,7 @@
|
|||||||
- "{{ nginx_html }}:/usr/share/nginx/html:ro"
|
- "{{ nginx_html }}:/usr/share/nginx/html:ro"
|
||||||
labels:
|
labels:
|
||||||
traefik.http.routers.nginx.rule: "Host(`{{ nginx_domain }}`)"
|
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.entrypoints: websecure
|
||||||
traefik.http.routers.nginx.tls.certresolver: letsencrypt
|
traefik.http.routers.nginx.tls.certresolver: letsencrypt
|
||||||
traefik.http.routers.nginx.middlewares: "securehttps@file,nginxauth"
|
traefik.http.routers.nginx.middlewares: "securehttps@file,nginxauth"
|
||||||
|
Loading…
Reference in New Issue
Block a user