1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-08-23 16:01:57 +00:00

fix: Replace mDNS .local domain with .example domain

See RFC 6762 for details on mDNS .local domain: https://datatracker.ietf.org/doc/html/rfc6762
And RFC 6761 for details on .example domain: https://datatracker.ietf.org/doc/html/rfc6761
This commit is contained in:
SaturnIC
2023-05-22 12:14:28 +02:00
parent a06bb9e68b
commit 13eb61a639
24 changed files with 49 additions and 49 deletions

View File

@@ -68,13 +68,13 @@ services:
expose:
- "8000"
environment:
- VIRTUAL_HOST=whoami.local
- VIRTUAL_HOST=whoami.example
- VIRTUAL_PORT=8000
```
```console
docker-compose up
curl -H "Host: whoami.local" localhost
curl -H "Host: whoami.example" localhost
```
Example output:
@@ -257,7 +257,7 @@ You can demo this pattern with docker-compose:
```console
docker-compose --file docker-compose-separate-containers.yml up
curl -H "Host: whoami.local" localhost
curl -H "Host: whoami.example" localhost
```
Example output: