gitea: allow WAN traffic

This commit is contained in:
Giulio De Pasquale 2023-11-16 13:28:06 +01:00
parent 5eb5613d71
commit e715a7bf3c

View File

@ -8,7 +8,10 @@ in
firewall.openTCP = [ config.services.gitea.settings.server.SSH_PORT ]; firewall.openTCP = [ config.services.gitea.settings.server.SSH_PORT ];
vhost.${domain} = { vhost.${domain} = {
dnsInterfaces = [ "lan" "tailscale" ]; dnsInterfaces = [ "lan" "tailscale" ];
locations."/".port = config.services.gitea.settings.server.HTTP_PORT; locations."/" = {
port = config.services.gitea.settings.server.HTTP_PORT;
allowWAN = true;
};
}; };
}; };