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

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

Issue 6608332739575808: Issue 2301 - Replace links in proxied content (Closed)
Patch Set: Created April 16, 2015, 12:39 p.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
@@ -212,9 +212,11 @@ location /403.html
{
try_files $uri @proxied;
}
location @proxied
{
proxy_pass https://server_16.adblockplus.org;
proxy_set_header Host adblockplus.org;
proxy_redirect https://adblockplus.org/ https://$host/;
+ sub_filter_once off;
+ sub_filter https://adblockplus.org/ https://$host/;
mathias 2015/04/16 12:44:14 I understand what you are doing here - but why?
mathias 2015/04/16 13:50:20 Never mind, I've seen it now.
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld