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 = {
|
traefik = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
dynamicConfigOptions = {
|
||||||
|
http.middlewares.auth.basicAuth.usersFile = "/var/lib/nginx/.htpasswd";
|
||||||
|
};
|
||||||
staticConfigOptions = {
|
staticConfigOptions = {
|
||||||
entryPoints = {
|
entryPoints = {
|
||||||
traefik.address = "127.0.0.1:8082";
|
traefik.address = "127.0.0.1:8082";
|
||||||
|
|
@ -104,7 +107,6 @@ 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