Basically what I'm trying to achieve is to have my app running on local.myapp.com instead of localhost.
Notice: On the host machine inside /etc/hosts I have 127.0.0.1 local.myapp.com entry and my docker-compose configuration has ports: 80:80.
When I run this command on the host machine: yarn serve --port=80 --host=local.myapp.com everything works and I can access my Vue application by local.myapp.com. However I can't configure it the same way using Docker.
All commands below are run within the docker container:
Entering http://local.myapp.com/ with yarn serve --port=80 - gives me Invalid Host header
Entering http://local.myapp.com/ with yarn serve --port=80 --host=local.myapp.com - gives me ERR_EMPTY_RESPONSE.
Doing wget http://local.myapp.com:80 inside container works.
What am I missing?