Browse Source

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

andryyy 8 years ago
parent
commit
466b8137e5

+ 2 - 1
data/conf/bind9/named.conf

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

+ 1 - 0
data/conf/nginx/dynmaps.conf

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

+ 3 - 0
data/conf/rspamd/local.d/rspamd.conf.local

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