Initial commit
This commit is contained in:
13
nginx/selinux/nginx.te
Normal file
13
nginx/selinux/nginx.te
Normal 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;
|
||||
Reference in New Issue
Block a user