I'm trying to use uWSGI as a standalone http server, not a uwsgi server.
Here' my configuration file mysite.ini
:
[uwsgi]
chdir = /srv/workflows
module = workflows.wsgi:application
plugin = python
# We can receive connections either via http or from frontend via uwsgi socket
# http:
http = 0.0.0.0:8000
# uwsgi:
#socket = 0.0.0.0:8000
#chmod-socket = 664
vacuum = true
master = true
need-app = true
processes = 10
harakiri = 20
max-requests = 5000
So, I used http option and commented-out socket
and chmod-socket
options.
In response to that uWSGI curses:
uWSGI: --s/--socket option is missing and stdin is not a socket.
Do I understand it right, that if I specify socket
option, uWSGI expects connection to implement WSGI protocol? And if I specify http
option, it expects connection to be http and I shouldn't specify the socket
option in that case.
Try http-socket rather than http
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With