rabchev / web-terminal

Web-Terminal is a terminal server that provides remote CLI via standard web browser and HTTP protocol.
MIT License
443 stars 138 forks source link

Web Terminal on https #21

Closed Abubakar63 closed 7 years ago

Abubakar63 commented 7 years ago

I have web terminal running on my server on 4200 port so I can access it like http://ip-address:4200, I want to run it on https like https://ip_address:4200. How can I give ssl certificate information while starting it.

And also I have domain abc.com pointing to my server. So I need terminal to be running with domain name too like http://domain-name:4200

rabchev commented 7 years ago

Sorry for the late response.

The right way to handle this is to use reverse proxy, such as Nginx, in front of your service and do the SSL termination there.

Abubakar63 commented 7 years ago

Thank you so much. I have already fixed this with same approach i.e. nginx reverse proxy.