mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 08:17:01 +05:30
caddy: Disable private devices
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
e17cc4aad7
commit
88c78f686d
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ LimitNPROC=512
|
|||
; Use private /tmp and /var/tmp, which are discarded after caddy stops.
|
||||
PrivateTmp=true
|
||||
; Use a minimal /dev (May bring additional security if switched to 'true', but it may not work on Raspberry Pi's or other devices, so it has been disabled in this dist.)
|
||||
PrivateDevices=false
|
||||
PrivateDevices=true
|
||||
; Hide /home, /root, and /run/user. Nobody will steal your SSH-keys.
|
||||
ProtectHome=true
|
||||
; Make /usr, /boot, /etc and possibly some more folders read-only.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue