[FIX] wsgi: better instruction to use the proxied.application.
bzr revid: vmt@openerp.com-20120210152521-638x9bzrvz0enq9k
This commit is contained in:
parent
4890c95447
commit
b76a80944f
|
@ -1,12 +1,14 @@
|
||||||
# Gunicorn sample configuration file.
|
# Gunicorn sample configuration file.
|
||||||
# See http://gunicorn.org/configure.html for more details.
|
# See http://gunicorn.org/configure.html for more details.
|
||||||
#
|
#
|
||||||
# To run OpenERP via Gunicorn, change the appropriate
|
# To run the OpenERP server via Gunicorn, change the appropriate
|
||||||
# settings below, in order to provide the parameters that
|
# settings below, in order to provide the parameters that
|
||||||
# would normally be passed in the command-line,
|
# would normally be passed in the command-line,
|
||||||
# (at least `bind` and `conf['addons_path']`), then execute:
|
# (at least `bind` and `conf['addons_path']`), then execute:
|
||||||
# $ gunicorn openerp:wsgi.core.application -c gunicorn.conf.py
|
# $ gunicorn openerp:wsgi.core.application -c gunicorn.conf.py
|
||||||
# or
|
# or if you want to run it behind a reverse proxy, add the line
|
||||||
|
# import openerp.wsgi.proxied
|
||||||
|
# in this file and execute:
|
||||||
# $ gunicorn openerp:wsgi.proxied.application -c gunicorn.conf.py
|
# $ gunicorn openerp:wsgi.proxied.application -c gunicorn.conf.py
|
||||||
|
|
||||||
import openerp
|
import openerp
|
||||||
|
|
Loading…
Reference in New Issue