mirror of
https://github.com/openziti/zrok.git
synced 2024-11-24 17:13:51 +01:00
Merge pull request #687 from openziti/demonstrate-x-real-ip
demonstrate setting x-real-ip header with Caddyfile
This commit is contained in:
commit
82ceeed58a
@ -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