Commit 9be0041
committed
MEDIUM: revise SSL redirection if redirecting to default HTTPS port
* The default for the controller is to generate redirects to port
8443, as this port can be bound to in a rootless container.
* Running the container in a Kubernetes setting having a service
port mapping to port 443 introduces the need to change this
default configuration.
* Having the default HTTPS port 443 appended to the redirect
breaks certain caching behaviors and is thus not ideal.
* This commit aims to purely switch the scheme from HTTP to
HTTPS without changing anything else about the request, the
only user visible change being that the :443 in the redirect
URL is no longer visible.
* fixes #6421 parent 7915350 commit 9be0041
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
41 | 42 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
46 | 53 | | |
47 | | - | |
48 | 54 | | |
49 | 55 | | |
50 | 56 | | |
| |||
0 commit comments