Commit 741fdf96 authored by David Trattnig's avatar David Trattnig
Browse files

Deployment info.

parent cda0b47c
# Aura Engine
<img src="https://gitlab.servus.at/autoradio/meta/-/raw/master/images/aura-engine.png" width="250" align="right" />
......@@ -167,6 +168,20 @@ and on system boot run following:
For production Engine API uses the WSGI HTTP Server [`Gunicorn`](https://gunicorn.org/).
In production Gunicorn is used in combination with some proxy server, such as Nginx.
From the Gunicorn [documentation](http://docs.gunicorn.org/en/latest/deploy.html):
<div class="panel panel-info">
**Use Nginx as your Gunicorn proxy**
{: .panel-heading}
<div class="panel-body">
Although there are many HTTP proxies available, we strongly advise that you use Nginx. If you choose another proxy server you need to make sure that it buffers slow clients when you use default Gunicorn workers. Without this buffering Gunicorn will be easily susceptible to denial-of-service attacks. You can use Hey to check if your proxy is behaving properly.
</div>
</div>
[`Supervisor`](http://supervisord.org/) is a preferable solution to run the gunicorn server
in the background and also start it automatically on reboot.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment