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

Delta Between Two Patch Sets: modules/downloadserver/files/downloads.adblockplus.org

Issue 5713977044631552: Redirect incorrect Android devbuild update URL (Closed)
Left Patch Set: Created Dec. 17, 2013, 2:43 p.m.
Right Patch Set: Redirect the old devbuild update URL, not the new one Created Feb. 27, 2014, 6:05 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # downloads.adblockplus.org 1 # downloads.adblockplus.org
2 server { 2 server {
3 listen 80 default_server; 3 listen 80 default_server;
4 listen [::]:80 default_server; 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 {
(...skipping 11 matching lines...) Expand all
22 } 22 }
23 23
24 location /.hg { 24 location /.hg {
25 internal; 25 internal;
26 } 26 }
27 27
28 # This redirect is necessary since we accidentally set the wrong 28 # This redirect is necessary since we accidentally set the wrong
29 # update URL in ABP for Android 1.2. It can be removed once we're 29 # update URL in ABP for Android 1.2. It can be removed once we're
30 # not seeing anyone requesting this file anymore. 30 # not seeing anyone requesting this file anymore.
31 # Note that this intentionally promotes devbuilds to release builds. 31 # Note that this intentionally promotes devbuilds to release builds.
32 location /devbuilds/adblockplusandroid/update.json { 32 # Since newer versions should use the new devbuild and release
33 # build update URLs requested by libadblockplus, leaving this
34 # redirect around won't really hurt.
35 location /devbuilds/adblockplusandroid/updates.xml {
33 rewrite ^ https://adblockplus.org/androidupdates.xml?$query_string redirect; 36 rewrite ^ https://adblockplus.org/androidupdates.xml?$query_string redirect;
Wladimir Palant 2014/03/03 07:44:18 Won't the two update mechanisms be competing here?
34 } 37 }
35 38
36 access_log /var/log/nginx/access_log_downloads main; 39 access_log /var/log/nginx/access_log_downloads main;
37 keepalive_timeout 0; 40 keepalive_timeout 0;
38 root /var/www/downloads; 41 root /var/www/downloads;
39 42
40 location /devbuilds { 43 location /devbuilds {
41 alias /var/www/devbuilds; 44 alias /var/www/devbuilds;
42 } 45 }
43 } 46 }
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld