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

Side by Side Diff: modules/filterserver/files/site.conf

Issue 29587581: #4599 - Repair regular expressions for ZTE/UME rewrites (Closed) Base URL: https://hg1/infrastructure
Patch Set: Created Oct. 24, 2017, 10:21 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 root /var/www/easylist; 1 root /var/www/easylist;
2 keepalive_timeout 0; 2 keepalive_timeout 0;
3 charset utf-8; 3 charset utf-8;
4 gzip_static on; 4 gzip_static on;
5 default_type text/plain; 5 default_type text/plain;
6 6
7 # http://hub.eyeo.com/issues/262 7 # http://hub.eyeo.com/issues/262
8 location /filters/easylist-min.txt 8 location /filters/easylist-min.txt
9 { 9 {
10 proxy_cache filters; 10 proxy_cache filters;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 { 76 {
77 rewrite ^/exceptionrules\.(.+) /exceptionrules-minimal.$1 break; 77 rewrite ^/exceptionrules\.(.+) /exceptionrules-minimal.$1 break;
78 } 78 }
79 79
80 if ($use_alternative_resource_flags = "ZTE+UME") 80 if ($use_alternative_resource_flags = "ZTE+UME")
81 { 81 {
82 rewrite ^/exceptionrules\.(.+) /exceptionrules-minimal.$1 break; 82 rewrite ^/exceptionrules\.(.+) /exceptionrules-minimal.$1 break;
83 rewrite ^/easylist\.(.+) /easylist-minimal.$1 break; 83 rewrite ^/easylist\.(.+) /easylist-minimal.$1 break;
84 rewrite ^/easylistchina\.(.+) /easylistchina-minimal.$1 break; 84 rewrite ^/easylistchina\.(.+) /easylistchina-minimal.$1 break;
85 rewrite ^/advblock\.(.+) /advblock-minimal.$1 break; 85 rewrite ^/advblock\.(.+) /advblock-minimal.$1 break;
86 rewrite ^/easylistchina+easylist\.(.+) /easylistchina-minimal+easylist-minimal .$1 break; 86 rewrite ^/easylistchina\+easylist\.(.+) /easylistchina-minimal+easylist-minima l.$1 break;
87 rewrite ^/ruadlist+easylist\.(.+) /ruadlist-minimal+easylist-minimal.$1 break; 87 rewrite ^/ruadlist\+easylist\.(.+) /ruadlist-minimal+easylist-minimal.$1 break ;
88 } 88 }
89 89
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld