Merge pull request #295 from ryan4yin/fix/homepage-allowed-hosts

fix(homepage): allow the home.writefor.fun host
This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-09-21 17:37:35 +08:00
1 parent 4867e94171
commit 9ef2fefc25
1 file changed
+4 -3
@@ -29,10 +29,11 @@ in
hostname = "homepage";
image = "ghcr.io/gethomepage/homepage:latest";
ports = [ "127.0.0.1:54401:3000" ];
# https://github.com/louislam/uptime-kuma/wiki/Environment-Variables
# https://github.com/gethomepage/homepage#environment-variables
environment = {
# "PUID" = config.users.users.${user}.uid;
# "PGID" = config.users.groups.${user}.gid;
# homepage rejects requests whose Host header it does not know about.
# caddy proxies with the original Host (`home.writefor.fun`).
HOMEPAGE_ALLOWED_HOSTS = "home.writefor.fun";
};
volumes = [
"${configDir}:/app/config"