From 9b3496d2e29006154afb29e549230f8e4f201612 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 20 Apr 2009 19:22:38 +0000 Subject: [PATCH] Strip asset tags from user images. --- config/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.43.2