J
J
Jedi2018-11-05 18:26:56
Node.js
Jedi, 2018-11-05 18:26:56

How to run an application on HTTPS?

Good evening.
How can I run my application using the HTTPS protocol on a localhost (Mac OS)?
Expected:
https://localhost:3000/
Thanks!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
Zakharov Alexander, 2018-11-05
@PHPjedi

Why not? Issue a certificate to localhost and you're good to go.

M
marataziat, 2018-11-05
@marataziat

It's not possible locally. You need to buy a domain, set up nginx and proxy with SSL on nginx

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question