Skip to content

301 Moved Permanently #291

@jareware

Description

@jareware

According to the docs:

If a container has a usable cert, port 80 will redirect to 443 for that container so that HTTPS is always preferred when available

Preferring HTTPS over HTTP makes a lot of sense, but that redirect is implemented as 301 Moved Permanently. I just landed in a bit of hot water after temporarily enabling HTTPS support, and moving back to HTTP when things didn't work out, but several clients had already seen the permanent redirect and wouldn't even consult the HTTP endpoint anymore.

Given the dynamic nature of containers coming and going, would it be a safer option to redirect with 302 Moved Temporarily?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions