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

Unified Diff: modules/hgweb/templates/nginx_global.conf.erb

Issue 29334179: Issue 3552 - Increase Nginx header buffer size for Mercurial (Closed)
Patch Set: Created Jan. 21, 2016, 10:33 a.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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld