From 1f54d66821a4c41b039e29bac874b0b82e29606e Mon Sep 17 00:00:00 2001
From: Emanuele Laface <ema@morla.esss.lu.se>
Date: Mon, 9 Mar 2020 15:42:15 +0100
Subject: [PATCH] Test

---
 default.conf | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/default.conf b/default.conf
index 15e4bed..a274890 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;
         }
-- 
GitLab