These hostname mappings were, if I remember correctly, created to mirror the behaviour of docker with the docker-compose file (where each named container entry would be available as a resolvable hostname at runtime).
The only hostname resolution that I believe we need at runtime is for the frontend host to be able to resolve the location of the backend host so that the nginx config can configure fastcgi passthrough.
These hostname mappings were, if I remember correctly, created to mirror the behaviour of
docker
with thedocker-compose
file (where each named container entry would be available as a resolvable hostname at runtime).The only hostname resolution that I believe we need at runtime is for the
frontend
host to be able to resolve the location of thebackend
host so that thenginx
config can configurefastcgi
passthrough.