From 8188e8dda8e3059bf8eb01bce190a023e50a9b94 Mon Sep 17 00:00:00 2001 From: ftimme Date: Wed, 22 Feb 2012 16:26:47 +0000 Subject: [PATCH] - nginx: changed /awstats-icon location from "location /awstats-icon" to "location ^~ /awstats-icon" so that it isn't affected by any "location ~* \.(jpg|jpeg|png|gif|css|js|ico)$" directive. --- server/conf/nginx_vhost.conf.master | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/conf/nginx_vhost.conf.master b/server/conf/nginx_vhost.conf.master index d771eb171..7e1a203e9 100644 --- a/server/conf/nginx_vhost.conf.master +++ b/server/conf/nginx_vhost.conf.master @@ -75,7 +75,7 @@ server { auth_basic_user_file ; } - location /awstats-icon { + location ^~ /awstats-icon { alias /usr/share/awstats/icon; } -- GitLab