]> git.openstreetmap.org Git - rails.git/blobdiff - config/nginx.conf
Return 404 for unknown API versions instead of 403.
[rails.git] / config / nginx.conf
index bd43f4c35bad85dfc5649b6c02a10962c2958234..366c1e1b29319ce3620e25fa0f353459e9a08ff7 100644 (file)
@@ -188,7 +188,7 @@ http {
 
         # Deny old and unknown API versions
         location ~ ^/api/0\.[0-9]+/ {
-            deny all;
+            return 404;
         }
             
         # Handle Special Case Expiry