colloqi / pisignage-server

Local Server to manage piSignage players based on node.js
http://www.pisignage.com
MIT License
372 stars 153 forks source link

Need https #87

Closed bigpappa456 closed 4 years ago

bigpappa456 commented 4 years ago

I have set up the pi signage server on a VPS, i can get https to port 443 when i install webserver on the machine, but when i go to port 3000 allways the connection is http, anyone know how to make it https on the node on port 3000?

hitesh83 commented 4 years ago

Simplest way is to use reverse proxy of nginx . Using same from last 2 years

Ref- https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-with-ssl-as-a-reverse-proxy-for-jenkins

https://medium.com/@mightywomble/how-to-set-up-nginx-reverse-proxy-with-lets-encrypt-8ef3fd6b79e5

bigpappa456 commented 4 years ago

Simplest way is to use reverse proxy of nginx . Using same from last 2 years

Ref- https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-with-ssl-as-a-reverse-proxy-for-jenkins

https://medium.com/@mightywomble/how-to-set-up-nginx-reverse-proxy-with-lets-encrypt-8ef3fd6b79e5

I tried this but i did not get it to work, is there some how a way you can help me with this??

hitesh83 commented 4 years ago

If I can ssh to your server it can be done in 30min. Also if you have any sub domain or domain directing to VPS ip that will help in opening in browser rather than with IP.

bigpappa456 commented 4 years ago

If you could help me it would be great i am creating subs by using dns on the vps, i create a New server for New customers and place the snapshot on it but the domain Will be always the same how can i send you the credentials so you could help me if you want.

hitesh83 commented 4 years ago

How about starting with mail, Mail me on hitesh[at]hambarde.com

bigpappa456 commented 4 years ago

I send you an email from Gmail account

colloqi commented 4 years ago

Closing this issue, if https is needed server.js can be modified accordingly (code exists but need to be modified for certificate locations and config need to be updated).

saintofinternet commented 3 years ago

I have set up the pi signage server on a VPS, i can get https to port 443 when i install webserver on the machine, but when i go to port 3000 allways the connection is http, anyone know how to make it https on the node on port 3000?

have you installed the PiSignage on a DigitalOcean Droplet?

would be really helpful if you could guide me on it too please!!!

hitesh83 commented 3 years ago

I have set up the pi signage server on a VPS, i can get https to port 443 when i install webserver on the machine, but when i go to port 3000 allways the connection is http, anyone know how to make it https on the node on port 3000?

have you installed the PiSignage on a DigitalOcean Droplet?

would be really helpful if you could guide me on it too please!!!

It is the same as installing on your local server, no special modifications are required.