react-native-webrtc-server
react-native-webrtc-server copied to clipboard
Deploy with https
I am trying to deploy this react-native-webrtc-server on my VPS with SSL ( https ) I am following the steps below :
- installed node and running server on http://127.0.0.1:8080
- using niginx as reverse proxy and in the niginx server block adding it like this location / { proxy_pass http://127.0.0.1:8080; . .
- accessing website like this https://mywebsite.com
now when I access https://mywebsite.com it is not connected to node server but when i access it like this http://mywebsite.com:8080 it works but without ssl
How are you able to make it work with SSL (https) Do i need to use https on both reverse proxy( niginx) as well as on node server ( i.e. https://127.0.0.1:8080)? At present I am using https on niginx reverse proxy but not on node server.
Please give some directions as I can see you have successfully deployed it on your heroku server with https (SSL)
You can check it here https://myreactnative.com/
i just did it yesterday, nginx/letsencrypt and pm2
you fixed it ?
can share my config if needed
i have the same problem i want to deploy it on google cloud compute engine or app engine but it don't work @smolleyes could you please share your config