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

Unified Diff: modules/notificationserver/files/site.conf

Issue 6380170118168576: Issue 2277 - Use the new notification.json handler (Closed)
Patch Set: Created April 12, 2015, 11:02 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
Index: modules/notificationserver/files/site.conf
===================================================================
--- a/modules/notificationserver/files/site.conf
+++ b/modules/notificationserver/files/site.conf
@@ -1,7 +1,15 @@
+keepalive_timeout 0;
+
location /.hg
{
internal;
}
-keepalive_timeout 0;
-root /var/www/notification;
+location /notification.json
+{
+ fastcgi_pass unix:/tmp/multiplexer-fastcgi.sock;
+ include /etc/nginx/fastcgi_params;
+ fastcgi_cache notification;
+ fastcgi_cache_key $group;
+ fastcgi_cache_valid any 1m;
+}
« no previous file with comments | « no previous file | modules/notificationserver/files/sitescripts.ini » ('j') | modules/notificationserver/manifests/init.pp » ('J')

Powered by Google App Engine
This is Rietveld