Skip to content

Commit d37a337

Browse files
author
Tim Meusel
committed
extend selinux policy for nginx caching
1 parent 794fa4c commit d37a337

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/unicorn_selinux_template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ module nginx 1.2;
1717

1818
#============= httpd_t ==============
1919
allow httpd_t puppet_var_run_t:sock_file write;
20+
allow httpd_t self:process setrlimit;
21+
allow httpd_t var_t:dir setattr;
22+
allow httpd_t var_t:file { read getattr unlink };
2023
allow httpd_t puppet_var_run_t:dir search;
2124
allow httpd_t init_t:unix_stream_socket connectto;
2225
<% if @backup_upstream %>

0 commit comments

Comments
 (0)