Initial commit

This commit is contained in:
2021-12-30 15:34:27 +00:00
commit 54c75ff97b
18 changed files with 1843 additions and 0 deletions

13
nginx/selinux/nginx.te Normal file
View File

@@ -0,0 +1,13 @@
module nginx 1.0;
require {
type initrc_t;
type httpd_t;
type var_run_t;
class sock_file write;
class unix_stream_socket connectto;
}
#============= httpd_t ==============
allow httpd_t initrc_t:unix_stream_socket connectto;
allow httpd_t var_run_t:sock_file write;