From e4fed781932f7a71e481d4e31d9b0af4c624cc23 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Wed, 17 Aug 2022 01:40:11 -0400 Subject: [PATCH] Remove basic auth on static nginx sites --- roles/nginx/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nginx/tasks/main.yml b/roles/nginx/tasks/main.yml index 2afcf1c..f026b86 100644 --- a/roles/nginx/tasks/main.yml +++ b/roles/nginx/tasks/main.yml @@ -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"