X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e5076f332a500ec4a685c2e6ce37021e8478ec7b..9b3496d2e29006154afb29e549230f8e4f201612:/config/nginx.conf diff --git a/config/nginx.conf b/config/nginx.conf index e3fa24fae..7cde7741b 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -145,7 +145,7 @@ http { } # Strip asset tags - location ~ ^/(images|javascripts|openlayers|stylesheets)/ { + location ~ ^/(images|javascripts|openlayers|stylesheets|user/image)/ { rewrite ^/(.*)/[0-9]+$ /$1; }