diff --git a/install/tpl/nginx_apps.vhost.master b/install/tpl/nginx_apps.vhost.master
index 871dff8c57dddff8f6a45193345928e90c1dcb4a..a22b1aab46b71b28fca3668fdf696154f365ed3f 100644
--- a/install/tpl/nginx_apps.vhost.master
+++ b/install/tpl/nginx_apps.vhost.master
@@ -200,7 +200,7 @@ server {
                fastcgi_pass unix:{cgi_socket};
         }
 
-        location /images/mailman {
+        location ^~ /images/mailman {
                alias /usr/share/images/mailman;
         }
 
diff --git a/server/conf/nginx_apps.vhost.master b/server/conf/nginx_apps.vhost.master
index 8a97f82a439cd596d341cf91b313ad4a52625a6b..0c82c4631e0a41d0888a811b9f3097db63fd326a 100644
--- a/server/conf/nginx_apps.vhost.master
+++ b/server/conf/nginx_apps.vhost.master
@@ -191,7 +191,7 @@ server {
                fastcgi_pass unix:{cgi_socket};
         }
 
-        location /images/mailman {
+        location ^~ /images/mailman {
                alias /usr/share/images/mailman;
         }