OLD | NEW |
| (Empty) |
1 keepalive_timeout 0; | |
2 root /var/www/stats; | |
3 | |
4 location /static | |
5 { | |
6 root /opt/sitescripts/sitescripts/stats; | |
7 } | |
8 | |
9 location /download | |
10 { | |
11 auth_basic "Stats Restricted Access"; | |
12 auth_basic_user_file /var/www/htpasswd; | |
13 } | |
14 | |
15 location /update | |
16 { | |
17 auth_basic "Stats Restricted Access"; | |
18 auth_basic_user_file /var/www/htpasswd; | |
19 } | |
20 | |
21 location /notification | |
22 { | |
23 auth_basic "Stats Restricted Access"; | |
24 auth_basic_user_file /var/www/htpasswd; | |
25 } | |
26 | |
27 location /raw | |
28 { | |
29 alias /var/www/statsdata; | |
30 auth_basic "Stats Restricted Access"; | |
31 auth_basic_user_file /var/www/htpasswd; | |
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 |