Replies: 1 comment 3 replies
-
To support ssl on my container, I had to add the annotation in the Ingress definition: In this case the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Waht I Expected
I am using http and https in the application-level, and then I just want to use "virtual host" in the ingress-level.
Application Level Code
Now when I execute
curl http://127.0.0.1:8080
then it responses{"url":"http://127.0.0.1:8080/"}
, when I executecurl -k https://127.0.0.1:8443
then it reponses{"url":"https://127.0.0.1:8443/"}
.Ingress Level Config
Now when I execute
curl http://my-app.dev.icefery.xyz
orcurl -k https://my-app.dev.icefery.xyz
then it just responses{"url":"http://my-app.dev.icefery.xyz/"}
, which means my ingress configuration only uses the port specified(either http or https), and can not support http and https configed in the application-levle.Question
How could I use "virtual host" in the ingress-level to support http and https configed in the application-level?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions