Skip to content

Clarify documentation HTTP Redirects #656

@meersau

Description

@meersau

Tried to redirect http to https with service tags. I followed the documentation https://fabiolb.net/feature/http-redirects/ which says:

To redirect from HTTP to HTTPS you must include the host:port of the HTTP endpoint

It did not work. I also have to include the port for the HTTPS rule.

Did not work:

urlprefix-web1.traefik/,urlprefix-web1.traefik:80/ redirect=301,https://web1.traefik/

Did work:

urlprefix-web1.traefik:443/,urlprefix-web1.traefik:80/ redirect=301,https://web1.traefik/

It surely is clear for users which uses fabiolb for some time, but I just evalute fabiolb, so for me was it not clear. I found some issues about this topic, so perhaps the documentation can be a bit clearer about redirecting.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions