From: Tom Hughes Date: Mon, 20 Apr 2009 17:17:00 +0000 (+0000) Subject: Return 404 for unknown API versions instead of 403. X-Git-Tag: live~8107 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/7f4aa53193b3b64f36af8377bb3e5c397f4fb322?ds=sidebyside Return 404 for unknown API versions instead of 403. --- diff --git a/config/nginx.conf b/config/nginx.conf index bd43f4c35..366c1e1b2 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -188,7 +188,7 @@ http { # Deny old and unknown API versions location ~ ^/api/0\.[0-9]+/ { - deny all; + return 404; } # Handle Special Case Expiry