HTTP and HTTPS listeners don't work together
See original GitHub issueDescribe the bug I can’t use HTTP and HTTPS listeners together without “redirect_cleartext_from”.
To Reproduce Add the below annotation in the ambassador service:
apiVersion: ambassador/v0
kind: Module
name: tls
config:
server:
enabled: True
Expected behavior I want to create HTTP only services and HTTPS only services, but I can’t. When I enable the TLS module, the HTTP port in the pods is closed. So, to have both listeners opened, I need to use the “redirect_cleartext_from”, so all HTTP request are redirect to HTTPS.
Versions (please complete the following information):
- Ambassador: 0.40.2
- Kubernetes environment: Kubernetes
- Version: Client Version: version.Info{Major:“1”, Minor:“12”, GitVersion:“v1.12.2”, GitCommit:“17c77c7898218073f14c8d573582e8d2313dc740”, GitTreeState:“clean”, BuildDate:“2018-10-24T06:54:59Z”, GoVersion:“go1.10.4”, Compiler:“gc”, Platform:“linux/amd64”} Server Version: version.Info{Major:“1”, Minor:“10”, GitVersion:“v1.10.10”, GitCommit:“be1a908c6aa47e0ae1b1dc861a1de6ccfe963aa2”, GitTreeState:“clean”, BuildDate:“2018-11-13T11:33:04Z”, GoVersion:“go1.9.3”, Compiler:“gc”, Platform:“linux/amd64”}
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:18 (3 by maintainers)
Top Results From Across the Web
Listeners for your Application Load Balancers
You can use an HTTPS listener to offload the work of encryption and decryption to your load balancer so that your applications can...
Read more >AWS ALB listeners - both https and http
When I add another listener on http/8000 that forwards the request to the same target group - it doesn't work. If I replace...
Read more >Enable HTTP to HTTPS Redirect for Application Load ...
Redirecting HTTP traffic to HTTPS within your load balancer listeners' configuration simplifies deployments while benefiting from the scale, the availability, ...
Read more >Azure Application Gateway listener configuration
You can use not only well-known ports, such as 80 and 443, but any allowed ... You can use WebSockets with both HTTP...
Read more >Introduction to events - Learn web development | MDN
Note: Event handlers are sometimes called event listeners — they are pretty much ... although strictly speaking, they work together.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is something we would like to support. Currently, as a work-around, you can run two deployments of ambassador. One for http and another for https traffic.
We have the same problem: we prefer Ambassador to be able to work with http and https, while Envoy allows it.