In my case, issue was actually default behaviour of HTTP client that I was using, axios.
By default, axios redirects us to 127.0.0.1:80 if it doesn’t find requested URL or http method(GET/POST/PUT). So better check your URL if are also using axios.