Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/statsmaster/files/stats.adblockplus.org

Issue 11464069: Set up statistics master server (Closed)
Patch Set: Created Aug. 23, 2013, 3:47 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 server {
2 listen 80 default_server;
3 listen [::]:80 default_server;
4 server_name stats.adblockplus.org;
5 location / {
6 rewrite (.*) https://stats.adblockplus.org$1 permanent;
7 }
8 }
9
10 server {
11 listen 443 ssl default_server;
12 listen [::]:443 ssl default_server;
13 server_name stats.adblockplus.org;
14 ssl_certificate sites-available/adblockplus.org_sslcert.pem;
15 ssl_certificate_key sites-available/adblockplus.org_sslcert.key;
16
17 error_page 500 502 503 504 /50x.html;
18 location = /50x.html {
19 root html;
20 }
21
22 access_log /var/log/nginx/access_log_stats main;
23 keepalive_timeout 0;
24 root /var/www/stats;
25
26 location /download
27 {
Felix Dahlke 2013/08/29 14:20:45 We typically don't put opening braces on a new lin
28 auth_basic "Stats Restricted Access";
29 auth_basic_user_file /var/www/htpasswd;
30 }
31
32 location /update
33 {
34 auth_basic "Stats Restricted Access";
35 auth_basic_user_file /var/www/htpasswd;
36 }
37
38 location /notification
39 {
40 auth_basic "Stats Restricted Access";
41 auth_basic_user_file /var/www/htpasswd;
42 }
43 }
OLDNEW

Powered by Google App Engine
This is Rietveld