abiosoft / abiosoft/caddy-docker

IPv6 client shows as docker host IPv4 in logs

Offen
#146 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
787
Forks
303
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I have a Caddy docker listening on 80 and 443, both port published on the host (with -p).

When an IPv6 client connects to caddy, in the logs I see the docker host IPv4 address (in my case 172.26.0.1) instead of the real client's IPv6.

I have a custom network bridge to connect caddy to an application container via the proxy directive.

This is my Caddyfile:

```
http://site1 {
tls off
redir https://{host}{uri}
}
https://site1 {
proxy / app-container:8080
tls email@address.com
root /srv
log / stderr {combined}
}
```

What am I missing?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.