From: Tom Hughes Date: Mon, 20 Apr 2009 19:22:38 +0000 (+0000) Subject: Strip asset tags from user images. X-Git-Tag: live~7588 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/9b3496d2e29006154afb29e549230f8e4f201612 Strip asset tags from user images. --- 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; }