49207995e2
This commit adds a note to the docs further explaining how to run glance as a wsgi script with uwsgi. Since pike doesn't support chunked encoding on requests we need apache to dechunk them before forwarding the request to glance/uwsgi. Change-Id: Ib09d2196d038d5f591d47349e66eba1bf609fcaa
23 lines
593 B
INI
23 lines
593 B
INI
[uwsgi]
|
|
; Warning: The socket timeout is needed when using uWSGI
|
|
; due to buffering of image data at the web server level.
|
|
; For environments with slower networks or larger images,
|
|
; this value may need to be increased.
|
|
socket-timeout = 30
|
|
http-auto-chunked = true
|
|
http-chunked-input = true
|
|
http-raw-body = true
|
|
chmod-socket = 666
|
|
lazy-apps = true
|
|
add-header = Connection: close
|
|
buffer-size = 65535
|
|
thunder-lock = true
|
|
plugins = python
|
|
enable-threads = true
|
|
exit-on-reload = true
|
|
die-on-term = true
|
|
master = true
|
|
processes = 4
|
|
http = 127.0.0.1:60999
|
|
wsgi-file = /usr/local/bin/glance-wsgi-api
|