X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/17223b5177da34560e0eb55660b6c426a7e35ea2..7f4aa53193b3b64f36af8377bb3e5c397f4fb322:/config/nginx.conf 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