Для работы нужно внести в /etc/hosts
127.0.0.1 my-app.test.internal my-api.test.internal
ditect client host name, change it for backend