Clarify that . is simply banned in hostnames

This commit is contained in:
Andreas Svanberg 2024-10-31 14:17:17 +01:00
parent 9805d3beeb
commit deb184d06c

@ -110,8 +110,7 @@ This is used in the [example](#example-compose-file) below. There is rarely, if
#### <host> in the Traefik labels
If a [`Host` rule](https://doc.traefik.io/traefik/routing/routers/#host-and-hostregexp) is used, the hostname can be
accessed using the environment variable `${VHOST}`. This is a fully qualified hostname that is unique for each
deployment and can be prefixed if there's a need for multiple hosts. Do *not* use `.` in the hostname to create new
subdomains, use `-` instead.
deployment and can be prefixed if there's a need for multiple hosts. Do *not* use `.` in the hostname.
### Example Compose file
This below Compose file consists of three services, a `frontend` that runs in the browser, an `api` that is used by the