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

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

Issue 6499647619072000: Issue 2532 - No Last-Modified header for pages on beta.adblockplus.org (Closed)
Patch Set: Created May 15, 2015, 2:14 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
@@ -52,16 +52,17 @@ if ($http_user_agent ~ \bYaBrowser/\d+)
set $user_agent "yandex-browser";
}
if ($http_user_agent ~ \bMaxthon/\d+)
{
set $user_agent "maxthon";
}
sub_filter ' id="content" class="' ' id="content" class="ua-$user_agent ';
+sub_filter_last_modified on;
set $index_page "firefox";
if ($user_agent != "")
{
set $index_page $user_agent;
}
# Various redirects
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld