abiosoft / abiosoft/caddy-docker

IPv6 client shows as docker host IPv4 in logs

未关闭
#146 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
787
派生
303
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。