You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can one use unit routes to direct websockets to python asgi and http2 to wsgi? I can't see how to route by protocol in the docs at https://unit.nginx.org/configuration/#routes
I know I could route on url, so all /ws/ to websocket, but I don't want to route on url, I want to route on protocol. Is this currently possible?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
can one use unit routes to direct websockets to python asgi and http2 to wsgi? I can't see how to route by protocol in the docs at https://unit.nginx.org/configuration/#routes
I know I could route on url, so all /ws/ to websocket, but I don't want to route on url, I want to route on protocol. Is this currently possible?
Beta Was this translation helpful? Give feedback.
All reactions