Skip to content

Deploy with https #9

@abhitheawesomecoder

Description

@abhitheawesomecoder

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions