fixed subnets, drone proto & host, cleaned up vault
This commit is contained in:
@@ -4,7 +4,7 @@ upstream pihole {
|
||||
|
||||
geo $local_access {
|
||||
default 0;
|
||||
192.168.1.0/24 1;
|
||||
192.168.0.0/16 1;
|
||||
}
|
||||
|
||||
server {
|
||||
@@ -18,7 +18,7 @@ server {
|
||||
if ($local_access = 1) {
|
||||
access_log off;
|
||||
}
|
||||
allow 192.168.1.0/24;
|
||||
allow 192.168.0.0/16;
|
||||
allow 127.0.0.1;
|
||||
deny all;
|
||||
|
||||
@@ -29,4 +29,4 @@ server {
|
||||
proxy_buffering off;
|
||||
proxy_pass http://pihole;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user