Update webservices.nix

This commit is contained in:
ediblerope 2026-01-20 21:45:20 +00:00 committed by GitHub
parent 3de3274574
commit f409414925
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,18 +17,16 @@
"/var/lib/nginx-proxy-manager/data:/data"
"/var/lib/nginx-proxy-manager/letsencrypt:/etc/letsencrypt"
];
extraOptions = [
"--restart=unless-stopped"
];
# Remove the extraOptions with --restart, it conflicts with --rm
};
};
# Create directories
systemd.tmpfiles.rules = [
"d /var/lib/nginx-proxy-manager/data 0755 root root -"
"d /var/lib/nginx-proxy-manager/letsencrypt 0755 root root -"
];
# Open firewall
networking.firewall.allowedTCPPorts = [ 80 81 443 ];