Index: modules/web/templates/adblockplus.org.conf.erb |
=================================================================== |
--- a/modules/web/templates/adblockplus.org.conf.erb |
+++ b/modules/web/templates/adblockplus.org.conf.erb |
@@ -354,7 +354,8 @@ |
if ($link = "") |
{ |
- return 404; |
+ # If there is no match in the legacy redirects, let the new redirect service handle it: |
+ rewrite ^ $scheme://adblockplus.to/$arg_link/legacy_redirect redirect; |
mathias
2017/11/03 12:38:13
I do not like the `/legacy_redirect` part. It look
f.nicolaisen
2017/11/03 12:54:04
My idea was that this would be valuable for tracki
f.nicolaisen
2017/11/03 13:23:41
Addressed this in PS2.
|
} |
if (!-f "$document_root/$lang/$link") |