mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
Merge pull request #295 from ryan4yin/fix/homepage-allowed-hosts
fix(homepage): allow the home.writefor.fun host
This commit is contained in:
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"
|
||||
|
||||
Reference in new issue
Block a user