Benoit Chesneau 8663740907
Add uWSGI protocol support to ASGI worker (#3467)
Add uWSGI protocol support to ASGI worker

- Implements AsyncUWSGIRequest class extending sync UWSGIRequest to reuse parsing logic with async I/O
- ASGI protocol handler selects between HTTP and uWSGI based on --protocol config option
- Allows gunicorn's ASGI worker to receive requests from nginx using uwsgi_pass directive
- Includes unit tests and Docker integration tests
2026-01-25 14:45:07 +01:00

15 lines
240 B
Nginx Configuration File

server {
listen 80;
server_name localhost;
location / {
uwsgi_pass gunicorn:8000;
include uwsgi_params;
}
location /health {
return 200 "OK";
add_header Content-Type text/plain;
}
}