Skip to content
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

Deploy with https #9

Open
abhitheawesomecoder opened this issue Aug 2, 2017 · 3 comments
Open

Deploy with https #9

abhitheawesomecoder opened this issue Aug 2, 2017 · 3 comments

Comments

@abhitheawesomecoder
Copy link

I am trying to deploy this react-native-webrtc-server on my VPS with SSL ( https )
I am following the steps below :

  1. installed node and running server on http://127.0.0.1:8080
  2. using niginx as reverse proxy and in the niginx server block adding it like this
    location / {
    proxy_pass http://127.0.0.1:8080;
    .
    .
  3. 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)

@abhitheawesomecoder
Copy link
Author

You can check it here https://myreactnative.com/

@smolleyes
Copy link

i just did it yesterday, nginx/letsencrypt and pm2

you fixed it ?

can share my config if needed

@hameed0z
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants