Fix: Caddy upstream via host-gateway statt localhost
This commit is contained in:
parent
00a5904999
commit
016312b142
2 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
test.sascha-lutz.de {
|
test.sascha-lutz.de {
|
||||||
reverse_proxy localhost:18097 {
|
reverse_proxy host-gateway:18097 {
|
||||||
flush_interval -1
|
flush_interval -1
|
||||||
transport http {
|
transport http {
|
||||||
read_buffer 64kb
|
read_buffer 64kb
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@ services:
|
||||||
caddy:
|
caddy:
|
||||||
image: caddy:latest
|
image: caddy:latest
|
||||||
container_name: caddy
|
container_name: caddy
|
||||||
|
extra_hosts:
|
||||||
|
- host-gateway:host-gateway
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue