Skip to content

[Feature] Support X-Forwarded-Prefix #2829

@n3fariox

Description

@n3fariox

I'm using Traefik as a reverse proxy to expose it publicly and was wanting to put RomM at a different base path.

Traefik has a StripPrefix middleware which strips the prefix and puts it in the X-Forwarded-Prefix header.
It would be nice if RomM would recognize this and use this in the Vue router.
Maybe a BASE_PATH_HEADER env var that specifies the header to get the base path from?

I know I can use the BASE_PATH environment variable, but that would require local users to also use the same path and the proxy config is where I'm setting the prefix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions