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

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

Issue 29325787: Issue 2982 - Don't send notifications to users that were in the browser notification test (Closed)
Patch Set: Created Sept. 3, 2015, 9:14 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 | modules/notificationserver/manifests/init.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 keepalive_timeout 0; 1 keepalive_timeout 0;
2 2
3 location /.hg 3 location /.hg
4 { 4 {
5 internal; 5 internal;
6 } 6 }
7 7
8 location /notification.json 8 location /notification.json
9 { 9 {
10 # Users that were in the browser notification test shouldn't see the same
11 # thing again, so they're not seeing any notifications for now.
12 # See https://issues.adblockplus.org/ticket/2982.
13 if ($arg_lastVersion ~ "-2/[1-3]")
14 {
15 rewrite ^ /empty-notification.json last;
16 }
17
10 fastcgi_pass unix:/tmp/multiplexer-fastcgi.sock; 18 fastcgi_pass unix:/tmp/multiplexer-fastcgi.sock;
11 include /etc/nginx/fastcgi_params; 19 include /etc/nginx/fastcgi_params;
12 fastcgi_cache notification; 20 fastcgi_cache notification;
13 fastcgi_cache_key $group; 21 fastcgi_cache_key $group;
14 fastcgi_cache_valid any 1m; 22 fastcgi_cache_valid any 1m;
15 fastcgi_cache_lock on; 23 fastcgi_cache_lock on;
16 } 24 }
25
26 location /empty-notification.json
27 {
28 root /var/www;
29 }
OLDNEW
« no previous file with comments | « no previous file | modules/notificationserver/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld