From b76a80944f344d4489bd343ac06a79b526fa8152 Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Fri, 10 Feb 2012 16:25:21 +0100 Subject: [PATCH] [FIX] wsgi: better instruction to use the proxied.application. bzr revid: vmt@openerp.com-20120210152521-638x9bzrvz0enq9k --- gunicorn.conf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gunicorn.conf.py b/gunicorn.conf.py index e7c2d6ed566..0f1d93a8638 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -1,12 +1,14 @@ # Gunicorn sample configuration file. # 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 # would normally be passed in the command-line, # (at least `bind` and `conf['addons_path']`), then execute: # $ 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 import openerp