]> git.openstreetmap.org Git - rails.git/blobdiff - config/nginx.conf
Strip asset tags from user images.
[rails.git] / config / nginx.conf
index e3fa24fae67c423406f977d517869e9118be7bd0..7cde7741b72b4f188ff48d7ec5aa3ed0eaaba231 100644 (file)
@@ -145,7 +145,7 @@ http {
         }
     
         # Strip asset tags
-        location ~ ^/(images|javascripts|openlayers|stylesheets)/ {
+        location ~ ^/(images|javascripts|openlayers|stylesheets|user/image)/ {
             rewrite ^/(.*)/[0-9]+$ /$1;
         }