fix basic auth
This commit is contained in:
parent
76e33549e1
commit
5b6ea3dec2
1 changed files with 0 additions and 3 deletions
|
|
@ -63,9 +63,6 @@ in
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
basicAuthFile = config.age.secrets.www-staging-htpasswd.path;
|
basicAuthFile = config.age.secrets.www-staging-htpasswd.path;
|
||||||
extraConfig = ''
|
|
||||||
auth_basic "Restricted Content";
|
|
||||||
'';
|
|
||||||
root = "/srv/http/www-staging";
|
root = "/srv/http/www-staging";
|
||||||
index = "index.html";
|
index = "index.html";
|
||||||
tryFiles = "$uri $uri/ $uri.html =404";
|
tryFiles = "$uri $uri/ $uri.html =404";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue