diff --git a/hosts/www/nginx.nix b/hosts/www/nginx.nix index 073e7d0..3c09c96 100644 --- a/hosts/www/nginx.nix +++ b/hosts/www/nginx.nix @@ -63,9 +63,6 @@ in enableACME = true; locations."/" = { basicAuthFile = config.age.secrets.www-staging-htpasswd.path; - extraConfig = '' - auth_basic "Restricted Content"; - ''; root = "/srv/http/www-staging"; index = "index.html"; tryFiles = "$uri $uri/ $uri.html =404";