📝 — Document gunicorn socket binding with an example

This commit is contained in:
Luc Didry 2024-03-18 16:17:55 +01:00
parent cb81b80b54
commit fadc3d7f17
No known key found for this signature in database
GPG key ID: EA868E12D0257E3C

View file

@ -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'
``` ```