diff --git a/default.conf b/default.conf
index 15e4bed8202e6205fe9505b2c040a88d09dfb846..a274890bc40be794ff7ce86f8343034a516750af 100644
--- a/default.conf
+++ b/default.conf
@@ -1,15 +1,5 @@
 geo $allow {
     default 0;
-    172.16.0.0/16 1;
-    172.17.0.0/16 1;
-    172.18.0.0/16 1;
-    172.19.0.0/20 1;
-    172.19.16.0/20 1;
-    172.20.0.0/16 1;
-    172.21.0.0/16 1;
-    172.23.0.0/16 1;
-    172.30.0.0/16 1;
-    10.0.0.0/8 1;
 }
 
 server {
@@ -25,9 +15,9 @@ server {
     
     location ~ ^/(contacts) {
         root   /usr/share/nginx/web;
+        error_page 403 /errors/403;
         real_ip_header X-Forwarded-For;
         set_real_ip_from 172.23.2.2;
-        error_page 403 /errors/403;
         if ($allow = 0) {
             return 403;
         }