| Index: modules/hgweb/templates/nginx.conf.erb |
| diff --git a/modules/hgweb/templates/nginx.conf.erb b/modules/hgweb/templates/nginx.conf.erb |
| index ff7478d68c8f8549efb41b46004ccaaa5f9e1b26..e4b09fe5c32054523a2529b216bfe5e502c30396 100644 |
| --- a/modules/hgweb/templates/nginx.conf.erb |
| +++ b/modules/hgweb/templates/nginx.conf.erb |
| @@ -7,6 +7,18 @@ location / |
| fastcgi_param SCRIPT_NAME ""; |
| } |
| +location ~ /[^/]+/(atom|rss)-log |
| +{ |
| + root /home/hg/web; |
| + fastcgi_pass unix:/var/run/hgweb.sock; |
| + include fastcgi_params; |
| + fastcgi_param SCRIPT_NAME ""; |
| + fastcgi_cache hgwebfeed; |
| + fastcgi_cache_key $uri; |
| + fastcgi_cache_lock on; |
| + fastcgi_cache_valid 200 5m; |
| +} |
| + |
| location /static/ |
| { |
| root <%= @templates %>; |