diff --git a/doc/htdocs/deploy.html b/doc/htdocs/deploy.html index 229714cf..e449acc7 100644 --- a/doc/htdocs/deploy.html +++ b/doc/htdocs/deploy.html @@ -91,8 +91,8 @@ http { features like Comet, Long polling, or Web sockets, you need to turn off the proxy buffering. When you do this you must run with one of the async worker classes.

-

To turn off buffering, you only need to add proxy_buffering off; to your -location block:

+

To turn off buffering, you only need to add proxy_buffering off; to your +location block:

 ...
 location / {
@@ -124,7 +124,7 @@ $ ~/venvs/webapp/bin/easy_install -U gunicorn
 $ deactivate
 

Then you just need to use one of the three Gunicorn scripts that was installed -into ~/venvs/webapp/bin.

+into ~/venvs/webapp/bin.

Monitoring

@@ -152,7 +152,7 @@ APP=main:application if [ -f $PID ]; then rm $PID fi cd $ROOT -exec $GUNICORN -C $ROOT/gunicorn.conf.py --pidfile=$PID $APP +exec $GUNICORN -c $ROOT/gunicorn.conf.py --pidfile=$PID $APP
diff --git a/doc/site/deploy.rst b/doc/site/deploy.rst index e46338be..a90334b3 100644 --- a/doc/site/deploy.rst +++ b/doc/site/deploy.rst @@ -139,7 +139,7 @@ An `example service`_ definition:: if [ -f $PID ]; then rm $PID fi cd $ROOT - exec $GUNICORN -C $ROOT/gunicorn.conf.py --pidfile=$PID $APP + exec $GUNICORN -c $ROOT/gunicorn.conf.py --pidfile=$PID $APP Supervisor ++++++++++ diff --git a/examples/gunicorn_rc b/examples/gunicorn_rc index c5841f73..cc1516bb 100755 --- a/examples/gunicorn_rc +++ b/examples/gunicorn_rc @@ -9,4 +9,4 @@ APP=main:application if [ -f $PID ]; then rm $PID fi cd $ROOT -exec $GUNICORN -C $ROOT/gunicorn.conf.py --pidfile=$PID $APP +exec $GUNICORN -c $ROOT/gunicorn.conf.py --pidfile=$PID $APP