refactor: always allow HTTPS through firewall

This commit is contained in:
Kiana Sheibani 2024-11-22 18:56:46 -05:00
parent 63565fc4b1
commit 37f8be203f
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -23,8 +23,7 @@ in {
security.acme.acceptTerms = config.aether.https; security.acme.acceptTerms = config.aether.https;
security.acme.defaults.email = cfg.acmeEmail; security.acme.defaults.email = cfg.acmeEmail;
networking.firewall.allowedTCPPorts = networking.firewall.allowedTCPPorts = [ 80 443 ];
[ 80 ] ++ lib.optional config.aether.https 443;
# Forgejo # Forgejo