Ticket #42678: nginx-ossec.conf
File nginx-ossec.conf, 511 bytes (added by jul_bsd@…, 11 years ago) |
---|
Line | |
---|---|
1 | |
2 | location /ossec { |
3 | root /opt/local/www; |
4 | index index.php; |
5 | location ~ \.php$ { |
6 | fastcgi_pass unix:/tmp/php.sock; |
7 | fastcgi_index index.php; |
8 | include fastcgi_params; |
9 | } |
10 | location ~ /\.ht { |
11 | deny all; |
12 | } |
13 | location ~ /\.sh { |
14 | deny all; |
15 | } |
16 | location ~ ossec_conf.php { |
17 | deny all; |
18 | } |
19 | location ~ /(site|tmp|lib) { |
20 | deny all; |
21 | } |
22 | } |