Hello,

I am trying to run `uwsgi` as an HTTP server on port 80 with systemd's
socket-based activation.

The socket-based activation runs fine; I can see this in the logs::

2019-01-09 16:28:59| - SystemD socket activation detected -
2019-01-09 16:28:59| ipv6a = ::
2019-01-09 16:28:59| uwsgi socket 1 attached to INET6 address [::]:80 fd 3
2019-01-09 16:28:59| uwsgi socket 0 bound to TCP address fd://0 fd 8

However, uWSGI insists on speaking the native protocol instead of
HTTP, so I get these errors in the logs:

2019-01-09 16:29:34| invalid request block size: 21573 (max 4096)...skip

I have tried adding this line to the INI config file, but no success:

http-socket = fd://0

Maybe also relevant:

- uWSGI running in master+worker mode
- using offload threads to serve HTTP
- HTTP is configured with `static-map` + `static-index`
- running uWSGI 2.0.15, installed from PyPI

Is this a supported configuration?  Am I doing something wrong?

Thanks for any help!

Ciao,
Riccardo
_______________________________________________
uWSGI mailing list
uWSGI@lists.unbit.it
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to