From 708fe509782b7dd7fa1afdbcd0157c51fb22c650 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Tue, 10 Jan 2012 04:45:31 -0500
Subject: [PATCH] - Added an alias "/awstats-icon" for /usr/share/awstats/icon to the nginx vhost template so that images are displayed in the AWStats statistics on nginx.
---
server/conf/nginx_vhost.conf.master | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/server/conf/nginx_vhost.conf.master b/server/conf/nginx_vhost.conf.master
index 25e544d..d771eb1 100644
--- a/server/conf/nginx_vhost.conf.master
+++ b/server/conf/nginx_vhost.conf.master
@@ -75,6 +75,10 @@
auth_basic_user_file <tmpl_var name='stats_auth_passwd_file'>;
}
+ location /awstats-icon {
+ alias /usr/share/awstats/icon;
+ }
+
<tmpl_if name='php' op='==' value='fast-cgi'>
location ~ \.php$ {
try_files $uri =404;
--
Gitblit v1.9.1