Allowed Hosts Homepage
This commit is contained in:
1 parent
97e1c456d4
commit
1b78eee17e
1 file changed
+3
-1
@@ -25,7 +25,9 @@ in {
|
|||||||
subdomain = containerCfg.subdomain;
|
subdomain = containerCfg.subdomain;
|
||||||
image = "ghcr.io/gethomepage/homepage:${version}";
|
image = "ghcr.io/gethomepage/homepage:${version}";
|
||||||
port = 3000;
|
port = 3000;
|
||||||
# extraEnv = { };
|
extraEnv = {
|
||||||
|
HOMEPAGE_ALLOWED_HOSTS = "${containerCfg.subdomain}.${serverCfg.domain},${builder.host}"
|
||||||
|
};
|
||||||
extraLabels = {
|
extraLabels = {
|
||||||
"traefik.http.routers.${containerCfg.subdomain}.service" = "${containerCfg.subdomain}";
|
"traefik.http.routers.${containerCfg.subdomain}.service" = "${containerCfg.subdomain}";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user