added hot reload and Gevent to uwsgi server

This commit is contained in:
2023-10-18 21:08:23 +08:00
parent 67948f81c4
commit 3626cd7980
19 changed files with 551 additions and 406 deletions

View File

@@ -1,4 +1,11 @@
# Run
```bash
uwsgi --plugin /usr/lib/uwsgi/python_plugin.so --http :1180 -w md2html.uwsgi --http-keepalive --http-auto-chunked
uwsgi --need-plugin /usr/lib/uwsgi/python_plugin.so \
--need-plugin /usr/lib/uwsgi/gevent_plugin.so \
-H venv \
--http :1180 \
-w md2html.uwsgi_handler \
--http-keepalive \
--http-auto-chunked \
--gevent 10
```