graphene-os-server-infrastr.../systemd/system/nginx.service.d/local.conf

31 lines
794 B
Plaintext
Raw Normal View History

2022-08-09 04:43:51 -04:00
[Service]
CapabilityBoundingSet=CAP_CHOWN CAP_DAC_OVERRIDE CAP_NET_BIND_SERVICE CAP_SETUID CAP_SETGID
2022-08-09 04:43:51 -04:00
LockPersonality=true
MemoryDenyWriteExecute=true
NoNewPrivileges=true
2022-08-09 04:43:51 -04:00
PrivateIPC=true
ProcSubset=pid
ProtectClock=true
ProtectControlGroups=true
2022-08-10 08:27:43 -04:00
ProtectHome=true
ProtectHostname=true
2022-08-09 04:43:51 -04:00
ProtectKernelLogs=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectProc=invisible
ProtectSystem=strict
ReadWritePaths=/var/lib/nginx /var/log/nginx -/var/cache/nginx
Restart=always
2024-09-15 00:19:19 -04:00
RestartMaxDelaySec=10s
RestartSec=100ms
RestartSteps=5
2022-08-09 04:43:51 -04:00
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
RestrictNamespaces=true
RestrictRealtime=true
RestrictSUIDSGID=true
RuntimeDirectory=nginx
RuntimeDirectoryMode=700
2022-08-09 04:43:51 -04:00
SystemCallArchitectures=native
SystemCallFilter=@system-service
SystemCallFilter=~@obsolete