gitea: Use a hardened systemd unit instead of a container

This commit is contained in:
Tristan Daniël Maat 2022-10-12 19:43:24 +01:00
parent 3cedb9f978
commit b6594cea54
Signed by: tlater
GPG key ID: 49670FD774E43268
2 changed files with 27 additions and 45 deletions
configuration

View file

@ -38,7 +38,7 @@
useDHCP = false;
interfaces.eth0.useDHCP = true;
firewall.allowedTCPPorts = [80 443 2222 2221 21025];
firewall.allowedTCPPorts = [80 443 2222 21025];
};
time.timeZone = "Europe/London";
@ -82,7 +82,6 @@
domain = config.services.nginx.domain;
in {
"${domain}" = proxyPassToPort 3002 {serverAliases = ["www.${domain}"];};
"gitea.${domain}" = proxyPassToPort 3000 {};
};
};