move to dynamic config
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 39s
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 39s
This commit is contained in:
parent
a0f980ef31
commit
706e789ce0
1 changed files with 3 additions and 1 deletions
|
|
@ -96,6 +96,9 @@ in {
|
|||
};
|
||||
traefik = {
|
||||
enable = true;
|
||||
dynamicConfigOptions = {
|
||||
http.middlewares.auth.basicAuth.usersFile = "/var/lib/nginx/.htpasswd";
|
||||
};
|
||||
staticConfigOptions = {
|
||||
entryPoints = {
|
||||
traefik.address = "127.0.0.1:8082";
|
||||
|
|
@ -104,7 +107,6 @@ in {
|
|||
forwardedHeaders.trustedIPs = [ "127.0.0.1/32" ];
|
||||
};
|
||||
};
|
||||
http.middlewares.auth.basicAuth.usersFile = "/var/lib/nginx/.htpasswd";
|
||||
api = {
|
||||
dashboard = true;
|
||||
insecure = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue