You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal: Allow the virtual request of httpInclude of a file_server to include a RemoteAddr so that a reverse proxy can set X-Forwarded-For.
Otherwise, the X-Forwarded-For header is not set and not included in the endpoint that processes the original httpInclude request, which is required for applications that trust this header and return different text data depending on its value.
The text was updated successfully, but these errors were encountered:
Hey, I can confirm that the issue is resolved with the PR requested in #5845 🎉
With the changes, my API that is called by the httpInclude request has now access to the X-Forwarded-For headers :)
Thank you both for working on the issue! :)
I will let the PR auto-close the issue :)
As discussed in the forum, I am creating this issue to track the progress of the following discussion: https://caddy.community/t/file-server-httpinclude-with-x-forwarded-for/21087
TL;DR:
Goal: Allow the virtual request of
httpInclude
of afile_server
to include aRemoteAddr
so that a reverse proxy can setX-Forwarded-For
.Otherwise, the
X-Forwarded-For
header is not set and not included in the endpoint that processes the originalhttpInclude
request, which is required for applications that trust this header and return different text data depending on its value.The text was updated successfully, but these errors were encountered: