cleanup
This commit is contained in:
1 parent
dd47977cbd
commit
83dec697d1
13 files changed
+94
-191
No files matched your search
@@ -24,8 +24,8 @@ let
|
||||
"traefik.enable" = "true";
|
||||
"traefik.http.routers.${routerName}.entrypoints" = "web-secure";
|
||||
"traefik.http.routers.${routerName}.rule" = if subpath != null
|
||||
then "Host(`${subdomain}.${serverCfg.hostDomain}`) && PathPrefix(`/${subpath}`)"
|
||||
else "Host(`${subdomain}.${serverCfg.hostDomain}`)";
|
||||
then "Host(`${subdomain}.${serverCfg.domain}`) && PathPrefix(`/${subpath}`)"
|
||||
else "Host(`${subdomain}.${serverCfg.domain}`)";
|
||||
"traefik.http.routers.${routerName}.tls" = "true";
|
||||
} // lib.optionalAttrs (port!=null) {
|
||||
"traefik.http.services.${routerName}.loadbalancer.server.port" = toString port;
|
||||
|
||||
Reference in new issue
Block a user