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; |
+} |