feat: add redirect to https when both an http and https port mapping match

This commit is contained in:
Jose Diaz-Gonzalez committed 2024-01-23 09:45:20 -05:00
1 parent 56ee889295
commit 6707e5f1eb
5 files changed
+52 -19

No files matched your search

+6 -5
View File
@@ -139,11 +139,12 @@ type ProcessCron struct {
}
type ProcessPortMap struct {
ContainerPort int32 `yaml:"container_port"`
HostPort int32 `yaml:"host_port"`
Scheme string `yaml:"scheme"`
Protocol PortmapProtocol `yaml:"protocol"`
Name string `yaml:"name"`
ContainerPort int32 `yaml:"container_port"`
HostPort int32 `yaml:"host_port"`
Scheme string `yaml:"scheme"`
Protocol PortmapProtocol `yaml:"protocol"`
Name string `yaml:"name"`
RedirectToHttps bool `yaml:"redirect_to_https"`
}
type PortmapProtocol string