abiosoft / abiosoft/caddy-docker

IPv6 client shows as docker host IPv4 in logs

Đang mở
#146 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Shell
Star
787
Fork
303
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.