mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix a typo in the documentation.
Some examples had -C instead of -c for specifying the config file. Thanks to martync@github for the report. Fixes #86
This commit is contained in:
parent
87296d5bc6
commit
3165b0f87f
@ -91,8 +91,8 @@ http {
|
||||
features like Comet, Long polling, or Web sockets, you need to turn off the
|
||||
proxy buffering. <strong>When you do this</strong> you must run with one of the async worker
|
||||
classes.</p>
|
||||
<p>To turn off buffering, you only need to add <tt class="docutils literal">proxy_buffering off;</tt> to your
|
||||
<tt class="docutils literal">location</tt> block:</p>
|
||||
<p>To turn off buffering, you only need to add <tt class="docutils literal"><span class="pre">proxy_buffering</span> <span class="pre">off;</span></tt> to your
|
||||
<tt class="docutils literal"><span class="pre">location</span></tt> block:</p>
|
||||
<pre class="literal-block">
|
||||
...
|
||||
location / {
|
||||
@ -124,7 +124,7 @@ $ ~/venvs/webapp/bin/easy_install -U gunicorn
|
||||
$ deactivate
|
||||
</pre>
|
||||
<p>Then you just need to use one of the three Gunicorn scripts that was installed
|
||||
into <tt class="docutils literal">~/venvs/webapp/bin</tt>.</p>
|
||||
into <tt class="docutils literal"><span class="pre">~/venvs/webapp/bin</span></tt>.</p>
|
||||
</div>
|
||||
<div class="section" id="monitoring">
|
||||
<h2><a class="toc-backref" href="#contents">Monitoring</a></h2>
|
||||
@ -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
|
||||
</pre>
|
||||
</div>
|
||||
<div class="section" id="supervisor">
|
||||
|
||||
@ -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
|
||||
++++++++++
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user