OLD | NEW |
1 keepalive_timeout 0; | 1 keepalive_timeout 0; |
2 root /var/www/stats; | 2 root /var/www/stats; |
3 | 3 |
4 location /static | 4 location /static |
5 { | 5 { |
6 root /opt/sitescripts/sitescripts/stats; | 6 root /opt/sitescripts/sitescripts/stats; |
7 } | 7 } |
8 | 8 |
9 location /download | 9 location /download |
10 { | 10 { |
(...skipping 12 matching lines...) Expand all Loading... |
23 auth_basic "Stats Restricted Access"; | 23 auth_basic "Stats Restricted Access"; |
24 auth_basic_user_file /var/www/htpasswd; | 24 auth_basic_user_file /var/www/htpasswd; |
25 } | 25 } |
26 | 26 |
27 location /raw | 27 location /raw |
28 { | 28 { |
29 alias /var/www/statsdata; | 29 alias /var/www/statsdata; |
30 auth_basic "Stats Restricted Access"; | 30 auth_basic "Stats Restricted Access"; |
31 auth_basic_user_file /var/www/htpasswd; | 31 auth_basic_user_file /var/www/htpasswd; |
32 } | 32 } |
| 33 |
| 34 location /web |
| 35 { |
| 36 alias /var/www/awstats; |
| 37 auth_basic "Stats Restricted Access"; |
| 38 auth_basic_user_file /var/www/htpasswd; |
| 39 |
| 40 autoindex on; # for the archives |
| 41 } |
| 42 |
| 43 location /web/easylist.adblockplus.org |
| 44 { |
| 45 # No authentication here |
| 46 alias /var/www/awstats/easylist.adblockplus.org; |
| 47 } |
| 48 |
| 49 location /web/icons |
| 50 { |
| 51 alias /usr/share/awstats/icon; |
| 52 } |
OLD | NEW |