tsuki/nginx: set LimitNOFILE

This commit is contained in:
2025-03-13 16:28:05 +01:00
parent c68a6515ef
commit 2a53c6b420

View File

@@ -220,9 +220,13 @@
'';
};
# NOTE: This is needed for nginx to be able
# to connect to sockets in /run
systemd.services.nginx.serviceConfig.ProtectHome = false;
systemd.services.nginx.serviceConfig = {
LimitNOFILE = 65536;
# NOTE: This is needed for nginx to be able
# to connect to sockets in /run
ProtectHome = false;
};
networking.firewall.allowedTCPPorts = [
80