diff --git a/CHANGELOG.md b/CHANGELOG.md index 831f5888..1c6e022c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## v0.4.35 + +CHANGE: add example in ./etc/caddy to set X-Real-IP header to public share client IP + ## v0.4.34 FEATURE: Linux service support for all private share modes (contribution from Stefan Adelbert @stefanadelbert) diff --git a/etc/caddy/multiple_upstream.Caddyfile b/etc/caddy/multiple_upstream.Caddyfile index 99f58b68..122fec31 100644 --- a/etc/caddy/multiple_upstream.Caddyfile +++ b/etc/caddy/multiple_upstream.Caddyfile @@ -29,5 +29,6 @@ http:// { # All other traffic goes to localhost:3000 reverse_proxy /* 127.0.0.1:3000 { header_up Host localhost:3000 + header_up X-Real-IP {http.request.header.x-forwarded-for} } }