add auth middleware
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 1m8s
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 1m8s
This commit is contained in:
parent
4d854b12f0
commit
a0f980ef31
1 changed files with 1 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ in {
|
||||||
forwardedHeaders.trustedIPs = [ "127.0.0.1/32" ];
|
forwardedHeaders.trustedIPs = [ "127.0.0.1/32" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
http.middlewares.auth.basicAuth.usersFile = "/var/lib/nginx/.htpasswd";
|
||||||
api = {
|
api = {
|
||||||
dashboard = true;
|
dashboard = true;
|
||||||
insecure = true;
|
insecure = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue