Skip to content

httpInclude through proxy with X-Forwarded-For #5835

@kai-tub

Description

@kai-tub

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 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐞Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions