Merge "Set wsgi name to application"
This commit is contained in:
commit
55e0cce3e7
@ -156,7 +156,6 @@ function configure_zaqar {
|
||||
iniset $ZAQAR_UWSGI_CONF uwsgi processes 1
|
||||
iniset $ZAQAR_UWSGI_CONF uwsgi threads 4
|
||||
iniset $ZAQAR_UWSGI_CONF uwsgi wsgi-file $ZAQAR_DIR/zaqar/transport/wsgi/app.py
|
||||
iniset $ZAQAR_UWSGI_CONF uwsgi callable app
|
||||
iniset $ZAQAR_UWSGI_CONF uwsgi master true
|
||||
iniset $ZAQAR_UWSGI_CONF uwsgi add-header "Connection: close"
|
||||
|
||||
|
@ -39,4 +39,6 @@ log.setup(conf, 'zaqar')
|
||||
|
||||
boot = bootstrap.Bootstrap(conf)
|
||||
conf.drivers.transport = 'wsgi'
|
||||
app = boot.transport.app
|
||||
application = boot.transport.app
|
||||
# Keep the old name for compatibility
|
||||
app = application
|
||||
|
Loading…
x
Reference in New Issue
Block a user