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

Merge pull request #2250 from SaturnIC-Forks/main

fix: Replace mDNS .local domain with .internal domain
This commit is contained in:
Nicolas Duchon
2023-05-30 07:28:13 +02:00
committed by GitHub
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: