diff --git a/doc/htdocs/index.html b/doc/htdocs/index.html index 484493e0..dfa154df 100644 --- a/doc/htdocs/index.html +++ b/doc/htdocs/index.html @@ -38,7 +38,7 @@ $ source bin/activate (tutorial) $ mkdir myapp (tutorial) $ cd myapp/ (tutorial) $ vi myapp.py -(tutorial) $ cat myapp.py +(tutorial) $ cat myapp.py def app(environ, start_response): data = "Hello, World!\n" @@ -55,13 +55,13 @@ def app(environ, start_response): 2010-06-05 23:27:07 [16802] [INFO] Worker spawned (pid: 16802) 2010-06-05 23:27:07 [16803] [INFO] Worker spawned (pid: 16803) 2010-06-05 23:27:07 [16804] [INFO] Worker spawned (pid: 16804) - +
Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's - a pre-fork worker model ported from Ruby's + a pre-fork worker model ported from Ruby's Unicorn project. The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resources, and fairly speedy. @@ -78,13 +78,36 @@ def app(environ, start_response):
--limit-request-line or set the
+ limit_request_line in your configuration file to set the max
+ size of the request line in bytes.--limit-request-fieldsw and
+ limit-request-field-size settingsgunicorn_django & run_gunicorn commandX-Forwarded-For header key and
+ disable it by setting an empty string.