remove Arch Linux nginx error_log configuration

error_log works the same way as add_header where defining it again on
the same level is additive and logs to both places, meaning that there
are duplicated logs when defining a proper syslog error_log output at
the top level.
This commit is contained in:
Daniel Micay 2023-02-17 16:37:57 -05:00
parent 312b1a027b
commit 7fc42a25c4

View File

@ -1,5 +1,7 @@
[Service]
CapabilityBoundingSet=CAP_DAC_OVERRIDE CAP_NET_BIND_SERVICE CAP_SETUID CAP_SETGID
ExecStart=
ExecStart=/usr/bin/nginx -g 'pid /run/nginx.pid;'
LockPersonality=true
NoNewPrivileges=true
MemoryDenyWriteExecute=true