LEFT | RIGHT |
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 19 matching lines...) Expand all Loading... |
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 | 33 |
34 location /web | 34 location /web |
35 { | 35 { |
36 alias /var/www/awstats; | 36 alias /var/www/awstats; |
37 auth_basic "Stats Restricted Access"; | 37 auth_basic "Stats Restricted Access"; |
38 auth_basic_user_file /var/www/htpasswd; | 38 auth_basic_user_file /var/www/htpasswd; |
39 | 39 |
40 autoindex on; # for the archives | 40 autoindex on; # for the archives |
41 } | 41 } |
42 | 42 |
43 location /web/easylist.adblockplus.org | 43 location /web/easylist.adblockplus.org |
44 { | 44 { |
45 # No authentication here | 45 # No authentication here |
46 alias /var/www/awstats/easylist.adblockplus.org; | 46 alias /var/www/awstats/easylist.adblockplus.org; |
47 } | 47 } |
48 | 48 |
49 location /web/icons | 49 location /web/icons |
50 { | 50 { |
51 alias /usr/share/awstats/icon; | 51 alias /usr/share/awstats/icon; |
52 } | 52 } |
LEFT | RIGHT |