From 8188e8dda8e3059bf8eb01bce190a023e50a9b94 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 22 Feb 2012 11:26:47 -0500
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/conf/nginx_vhost.conf.master b/server/conf/nginx_vhost.conf.master
index d771eb1..7e1a203 100644
--- a/server/conf/nginx_vhost.conf.master
+++ b/server/conf/nginx_vhost.conf.master
@@ -75,7 +75,7 @@
auth_basic_user_file <tmpl_var name='stats_auth_passwd_file'>;
}
- location /awstats-icon {
+ location ^~ /awstats-icon {
alias /usr/share/awstats/icon;
}
--
Gitblit v1.9.1