mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
📝 — Document gunicorn socket binding with an example
This commit is contained in:
parent
cb81b80b54
commit
fadc3d7f17
1 changed files with 2 additions and 2 deletions
|
@ -21,5 +21,5 @@ caption: /etc/systemd/system/argos-server.service
|
||||||
Please note that it might be better to use Gunicorn with a Uvicorn worker, [as specified in the Uvicorn docs](https://www.uvicorn.org/#running-with-gunicorn):
|
Please note that it might be better to use Gunicorn with a Uvicorn worker, [as specified in the Uvicorn docs](https://www.uvicorn.org/#running-with-gunicorn):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gunicorn example:app -w 4 -k uvicorn.workers.UvicornWorker
|
gunicorn example:app -w 4 -k uvicorn.workers.UvicornWorker -b '127.0.0.1:8000'
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue