Answer the question
In order to leave comments, you need to log in
How to resolve the "Invalid Host header" error?
Hello!
I have a server with Nginx, the frontend and backend via NestJs (Vue.js, MongoDB) are installed on the same server. Everything is working.
But when I add a line to the Nginx config,
then an error appears when opening the site. How to fix it? proxy_set_header Host $host;
Invalid Host header
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question