mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 08:17:01 +05:30
systemd/caddy: Allow access to AF_UNIX namespace
caddy connects to php-fpm through a unix socket and thus needs access to it aside from IPv4 and IPv6 http://man7.org/linux/man-pages/man2/socket.2.html Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
e40c2c999b
commit
daec82e7ee
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ ProtectControlGroups=true
|
||||||
ProtectKernelModules=true
|
ProtectKernelModules=true
|
||||||
ProtectKernelTunables=true
|
ProtectKernelTunables=true
|
||||||
PrivateDevices=true
|
PrivateDevices=true
|
||||||
RestrictAddressFamilies=AF_INET AF_INET6
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
||||||
RestrictNamespaces=true
|
RestrictNamespaces=true
|
||||||
RestrictRealtime=true
|
RestrictRealtime=true
|
||||||
SystemCallArchitectures=native
|
SystemCallArchitectures=native
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue