Nginx #1127
Answered
by
miguelgrinberg
Notadumdum
asked this question in
Q&A
Nginx
#1127
-
Goodday I want to make use of nginx reverse proxy to send origin header to a socket.io server and I don't know how I'd connect my code to nginx to my socket.io client
I'm aware that i have to input this in the nginx.conf file but after this I have not much of an idea of how to configure the connection when entering vscode... |
Beta Was this translation helpful? Give feedback.
Answered by
miguelgrinberg
Feb 4, 2023
Replies: 1 comment
-
You don't need Nginx for this. Send the https://python-socketio.readthedocs.io/en/latest/api.html#socketio.Client.connect |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Notadumdum
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don't need Nginx for this. Send the
Origin
header directly in your connection call.https://python-socketio.readthedocs.io/en/latest/api.html#socketio.Client.connect