Add a script that allows caddy to access a dir in selinux
This commit is contained in:
parent
c36a358c12
commit
c445e44c50
5
scripts/se-caddy-allow
Normal file
5
scripts/se-caddy-allow
Normal file
@ -0,0 +1,5 @@
|
||||
#! /bin/bash
|
||||
set -ex
|
||||
|
||||
sudo chcon -t httpd_sys_content_t $1 -R
|
||||
sudo chcon -t httpd_sys_rw_content_t $1 -R
|
Loading…
x
Reference in New Issue
Block a user