Index: modules/hgweb/templates/nginx_global.conf.erb |
diff --git a/modules/hgweb/templates/nginx_global.conf.erb b/modules/hgweb/templates/nginx_global.conf.erb |
index 06623946f6babaa903378983d740df8a78b4c199..fdf5a330376d31b52ace5c73a9d072ee50e3a93a 100644 |
--- a/modules/hgweb/templates/nginx_global.conf.erb |
+++ b/modules/hgweb/templates/nginx_global.conf.erb |
@@ -1 +1,5 @@ |
fastcgi_cache_path /var/cache/nginx/hgweb levels=1 keys_zone=hgwebfeed:1m; |
+ |
+# HTTP header size increases proportional to the amount of Mercurial heads, |
+# see https://www.mercurial-scm.org/wiki/HgWebInIisOnWindows#Troubleshooting |
+large_client_header_buffers 16 16k; |