Add log_helper to Rspamd, add IPv6 for http maps in Nginx, make Bind listen on v6 and add acl for internal network

master
andryyy 2017-05-23 22:23:34 +02:00
parent d1b99d2355
commit 466b8137e5
3 changed files with 6 additions and 1 deletions

View File

@ -3,13 +3,14 @@ acl internal_networks {
192.168.0.0/16; 192.168.0.0/16;
172.16.0.0/12; 172.16.0.0/12;
10.0.0.0/8; 10.0.0.0/8;
fd4d:6169:6c63:6f77::/64;
}; };
options { options {
directory "/var/bind"; directory "/var/bind";
allow-recursion { internal_networks; }; allow-recursion { internal_networks; };
listen-on { any; }; listen-on { any; };
listen-on-v6 { none; }; listen-on-v6 { any; };
pid-file "/var/run/named/named.pid"; pid-file "/var/run/named/named.pid";
allow-transfer { none; }; allow-transfer { none; };
dnssec-enable yes; dnssec-enable yes;

View File

@ -1,5 +1,6 @@
server { server {
listen 8081; listen 8081;
listen [::]:8081;
index index.php index.html; index index.php index.html;
server_name _; server_name _;
error_log /var/log/nginx/error.log; error_log /var/log/nginx/error.log;

View File

@ -1,2 +1,5 @@
# rspamd.conf.local # rspamd.conf.local
history_redis {} history_redis {}
worker "log_helper" {
count = 1;
}