-
-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I use PHP Socket.IO with Nginx/SSL or without SSL? #301
Comments
This is an example for nginx config
Remember remove ssl config from phpsocket.io |
Does this usage format also work if I am using supervisor for my websocket service? Or would I need to do some additional configuration? |
If you want to use it with nginx/apache for SSL, it's pretty simple just like the above comment stated, nginx/apache will be handling the networking and SSL, it's called reverse proxy, and yes it can work with supervisor or forever. |
Currently I use the socket passing the port and default settings of the SSL certificate. I would like to be able to use SSL directly with nginx so that it can manage the certificate for me. I found other issues talking about usage, but I wasn't successful in any of them.
My instance runs around this call:
My SSL configuration is in this format:
The text was updated successfully, but these errors were encountered: