Skip to content

Commit 9d810f8

Browse files
committed
Merge pull request #3 from gavinrogers/feature-nginx
added another rule
2 parents 8174acb + 1c1fb12 commit 9d810f8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

templates/unicorn_selinux_template

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
module nginx 1.0;
1+
module nginx 1.1;
22
require {
33
type httpd_t;
44
type puppet_var_run_t;
5+
type init_t;
56
class process setrlimit;
67
class sock_file write;
78
class dir search;
9+
class unix_stream_socket connectto;
810
}
911

1012
#============= httpd_t ==============
1113
allow httpd_t puppet_var_run_t:sock_file write;
1214
allow httpd_t puppet_var_run_t:dir search;
15+
allow httpd_t init_t:unix_stream_socket connectto;

0 commit comments

Comments
 (0)