Strip asset tags from user images.
authorTom Hughes <tom@compton.nu>
Mon, 20 Apr 2009 19:22:38 +0000 (19:22 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 20 Apr 2009 19:22:38 +0000 (19:22 +0000)
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;
         }