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

Unified Diff: modules/web/templates/adblockplus.org.conf.erb

Issue 5169557450784768: Noissue - Serve devbuilds directly from downloads.adblockplus.org (Closed)
Patch Set: Created May 20, 2015, 11:47 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/web/templates/adblockplus.org.conf.erb
===================================================================
--- a/modules/web/templates/adblockplus.org.conf.erb
+++ b/modules/web/templates/adblockplus.org.conf.erb
@@ -182,16 +182,17 @@
rewrite ^ /$lang/$link$anchor? redirect;
}
+location /devbuilds
+{
+ rewrite ^(.*) https://downloads.adblockplus.org$1;
+}
+
# Locations still served by the legacy server
location ~ ^(/blog|/releases|/development-builds|/atom|/rss|/category|/section|/author|/file_download|/textpattern|/default-static|/_override-static)($|/)
{
try_files $uri @proxied;
}
-location /devbuilds
-{
- try_files $uri @proxied;
-}
location /submitEmail
{
try_files $uri @proxied;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld