Skip to content

Can nginx interface with SocketIO using a unix socket #1530

Description

@eric-gilbertson

I am trying to configure Nginx to communicate with Flask-SocketIO via a Unix socket as outlined in the link below but the Nginx WS requests to uwsgi always time out. I would like to use this approach, if possible, because of the it seems that it would simplify deployment of multiple uwsgi's since it would not require allocation of instance specific ports as outlined in the 'Using nginx as a WebSocket Reverse Proxy' of the Flask-SocketIO documentation. I would appreciate it if you could comment as to whether Abrahmasen's should work and whether it would be a good approach for deploying multiple uwsgi instances under nginx?

Thank you very much for your great library and the comprehensive documentation.

https://michaelabrahamsen.com/posts/configuring-uwsgi-and-nginx-for-use-with-flask-socketio

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions