Tuesday, 16 May 2017

How to use HTTPS on localhost:3000

My application requirement :

""The URL of your web form, to be displayed in a frame in the Worker's web browser. This URL must use the HTTPS protocol.""

My AWS EC2 instance has node js running on it. For some reason I am having issues running it as a production server serve -s build

But when I npm start in my project folder it runs a development server on port 3000 and I can access it via http://ec2----------.compute-1.amazonaws.com:3000/

But this does not work with https. Is there a way I can access the same url using https? Something like :

https://ec2----------.compute-1.amazonaws.com:3000/

The ways that I have looked so far : Reverse Proxy and Nginx.

But could not understand it well.



via technazi

No comments:

Post a Comment