Skip to content

Commit

Permalink
traefik: set the hostname
Browse files Browse the repository at this point in the history
$ curl https://macbre.local/whoami -I

X-Forwarded-For: 192.168.65.1
X-Forwarded-Host: macbre.local
X-Forwarded-Port: 443
X-Forwarded-Proto: https
X-Forwarded-Server: traefik.macbre.local
X-Real-Ip: 192.168.65.1
X-Replaced-Path: /whoami
  • Loading branch information
macbre committed Jun 28, 2024
1 parent 26be15b commit 83f737f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ services:
restart: always
user: nobody
mem_limit: 128M
hostname: traefik.${HOSTNAME:-foo.bar}
cpus: 0.2

ports:
Expand Down

0 comments on commit 83f737f

Please sign in to comment.