OKA Gunicorn server

Here are parameters that can be configured regarding the server. They can be specified in the ${OKA_INSTALL_DIR}/conf/gunicorn.conf.py file:

OKA server

  • bind: 0.0.0.0:8000

    Specify on which IP and port the server must listen. Use 0.0.0.0 if you want the server to listen on all interfaces. If you are serving OKA behind a proxy running on the same server, you might want to use 127.0.0.1:8000 instead (or the IP:port of the proxy server) to only allow connections from the proxy.

  • workers: 2

    Define the number of thread available for the server.