it actually takes an extra bit of code to implement that header stuff, otherwise by default the request appears from the origin

i had to add this feature to my reverse proxy so that my relay logs showed the actual origin IP for my debugging

i guess it depends on what HTTP library and language you are using but the Go standard library net/http be like this

Reply to this note

Please Login to reply.

Discussion

No replies yet.