Remove location block from abuse placeholder so it applies server wide.
authorTom Hughes <tom@compton.nu>
Mon, 20 Apr 2009 17:32:33 +0000 (17:32 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 20 Apr 2009 17:32:33 +0000 (17:32 +0000)
config/nginx.conf

index d63b82b6f0fa74610667ee1e0c8ab57a01fd3022..876f2c2a569748b4574f68a88367173d1c5482c4 100644 (file)
@@ -139,9 +139,7 @@ http {
         }
 
         # Placeholder for blocking abuse
-        location / {
-            allow all; 
-        }
+        allow all; 
     
         # Map api.openstreetmap/0.n/... to api.openstreetmap/api/0.n/...
         if ($host ~* api\.(.*)) {