Answer the question
In order to leave comments, you need to log in
How to get access to your API after getting an SSL certificate?
I have a VUE JS application
I have a server written in Nest JS
The client sends requests to the server's API using axios.
Previously, everything was normal, since both the client and the server worked via http.
Now I got a free certificate for my client application on Vue, and now the client cannot send API requests, an error is thrown:
net::ERR_SSL_PROTOCOL_ERROR
Answer the question
In order to leave comments, you need to log in
No, browsers do not allow many types of resources to be loaded via http if the page itself uses https ( more details here ). Therefore, the only viable solution is to raise HTTPS on the server that works on the node (you can also proxy it through nginx, it's the easiest way).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question