Skip to content

webflux: contextPath not used while behind a load balancer/reverse proxy #1109

Closed
@mxmrlt

Description

@mxmrlt

SwaggerUI doesn't work at all while behind a reverse proxy like Traefik even if good HTTP Headers are sent.

contextPath is available but doesn't seem to be used as you can see below

I tried setting this.swaggerConfigUrl and this.apiDocsUrl by appending default urls to the contextPath as we could expect according to the method signatures and it works well behind Traefik.

Is it really an issue that contextPath variable in thoses methods are not used?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions