gitea: allow WAN traffic
This commit is contained in:
parent
5eb5613d71
commit
e715a7bf3c
@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user