A
A
AlexBoss2020-01-02 20:42:15
Python
AlexBoss, 2020-01-02 20:42:15

How to configure aiohttp nginx gunicorn?

Good afternoon. How to deploy an application using aiohttp nginx gunicorn?
The off-doc only says:

gunicorn my_app_module:my_web_app --bind localhost:8080 --worker-class aiohttp.GunicornWebWorker

As I understand it, you need to run gunicron differently and configure nginx

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-01-02
@bacon

Why are you here gunicorn? And aiohttp can generally stick out right away, well, or through nginx's proxy_pass.
PS I don't understand how you read the docs, everything seems to be clearly described there https://aiohttp.readthedocs.io/en/stable/deploymen...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question