Answer the question
In order to leave comments, you need to log in
Requests from https site to api http?
There is a web app that is installed on the VM, with an Apache2 host and with Api on Node.js that listens to requests on the 8080 prot to communicate with the database. With the help of LetsEncrypt, I switched to https, but there was a problem, since the api listens for http requests, these requests from the https site are blocked.
Question. Is it possible to somehow change the api so that it operates with https requests? Or do I need to send all requests to port 443 and configure Apache2 so that it redirects the requests I need to the API?
If possible, a hint how to do it)
Answer the question
In order to leave comments, you need to log in
You need to configure a web server and install ssl on it. No other way
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question