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

Side by Side Diff: modules/downloadserver/files/downloads.adblockplus.org

Issue 10642004: Simplify filter download server configuration (Closed)
Patch Set: Created May 22, 2013, 8:16 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | modules/filterserver/files/easylist-downloads.adblockplus.org » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # downloads.adblockplus.org 1 # downloads.adblockplus.org
2 server { 2 server {
3 listen 80; 3 listen 80 default_server;
4 listen [::]:80; 4 listen [::]:80 default_server;
5 server_name downloads.adblockplus.org; 5 server_name downloads.adblockplus.org;
6 location / { 6 location / {
7 rewrite (.*) https://downloads.adblockplus.org$1 permanent; 7 rewrite (.*) https://downloads.adblockplus.org$1 permanent;
8 } 8 }
9 } 9 }
10 server { 10 server {
11 listen 443 ssl; 11 listen 443 ssl default_server;
12 listen [::]:443 ssl; 12 listen [::]:443 ssl default_server;
13 server_name downloads.adblockplus.org; 13 server_name downloads.adblockplus.org;
14 ssl_certificate sites-available/adblockplus.org_sslcert.pem; 14 ssl_certificate sites-available/adblockplus.org_sslcert.pem;
15 ssl_certificate_key sites-available/adblockplus.org_sslcert.key; 15 ssl_certificate_key sites-available/adblockplus.org_sslcert.key;
16 16
17 # redirect server error pages to the static page /50x.html 17 # redirect server error pages to the static page /50x.html
18 # 18 #
19 error_page 500 502 503 504 /50x.html; 19 error_page 500 502 503 504 /50x.html;
20 location = /50x.html { 20 location = /50x.html {
21 root html; 21 root html;
22 } 22 }
23 23
24 access_log /var/log/nginx/access_log_downloads main; 24 access_log /var/log/nginx/access_log_downloads main;
25 keepalive_timeout 0; 25 keepalive_timeout 0;
26 root /var/www/downloads; 26 root /var/www/downloads;
27 } 27 }
OLDNEW
« no previous file with comments | « no previous file | modules/filterserver/files/easylist-downloads.adblockplus.org » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld