-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
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
Labels
No labels