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

Delta Between Two Patch Sets: modules/downloadserver/files/site.conf

Issue 5734493784637440: Issue 245 - Unify SSL configuration for all servers (Closed)
Left Patch Set: Created April 2, 2014, 2:05 p.m.
Right Patch Set: Converted Nagios site configuration and centralized error page configuration Created April 10, 2014, 6:40 a.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 | « modules/downloadserver/files/logrotate ('k') | modules/downloadserver/manifests/init.pp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 keepalive_timeout 0; 1 keepalive_timeout 0;
2 root /var/www/downloads; 2 root /var/www/downloads;
3 3
4 # redirect server error pages to the static page /50x.html 4 location /.hg
5 # 5 {
6 error_page 500 502 503 504 /50x.html;
7 location = /50x.html {
8 root html;
9 }
10
11 location /.hg {
12 internal; 6 internal;
13 } 7 }
14 8
15 # This redirect is necessary since we accidentally set the wrong 9 # This redirect is necessary since we accidentally set the wrong
16 # update URL in ABP for Android 1.2. It can be removed once we're 10 # update URL in ABP for Android 1.2. It can be removed once we're
17 # not seeing anyone requesting this file anymore. 11 # not seeing anyone requesting this file anymore.
18 # Note that this intentionally promotes devbuilds to release builds. 12 # Note that this intentionally promotes devbuilds to release builds.
19 # Since newer versions should use the new devbuild and release 13 # Since newer versions should use the new devbuild and release
20 # build update URLs requested by libadblockplus, leaving this 14 # build update URLs requested by libadblockplus, leaving this
21 # redirect around won't really hurt. 15 # redirect around won't really hurt.
22 location /devbuilds/adblockplusandroid/updates.xml { 16 location /devbuilds/adblockplusandroid/updates.xml
17 {
23 rewrite ^ https://adblockplus.org/androidupdates.xml?$query_string redirect; 18 rewrite ^ https://adblockplus.org/androidupdates.xml?$query_string redirect;
24 } 19 }
25 20
26 location /devbuilds { 21 location /devbuilds
22 {
27 alias /var/www/devbuilds; 23 alias /var/www/devbuilds;
28 } 24 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld