mirror of
https://github.com/openziti/zrok.git
synced 2024-11-07 08:44:14 +01:00
demonstrate setting x-real-ip header with Caddyfile
This commit is contained in:
parent
9bb321285e
commit
952aae5e7a
@ -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)
|
||||
|
@ -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}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user