Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open port 443 in HTTP mode #333

Closed
tamalsaha opened this issue Jul 31, 2017 · 7 comments

Comments

Projects
None yet
2 participants
@tamalsaha
Copy link
Member

commented Jul 31, 2017

From "ronenf" in our slack channel:

Hi I am having problems getting my app running on port 443. Here part of the ingress:

- host: cvc-dev.vatit.io
   http:
     paths:
     - path: /
       backend:
         serviceName: vatit-cvc-dev.vatit-cvc-dev
         servicePort: 443

heres the service:

spec:
 selector:
     app: vatit-cvc-dev
 ports:
   - port: 443
     targetPort: 443
     name: https
   - port: 80
     targetPort: 80
     name: http

The cert is built into the app. I can hit the app on port 80 (It just returns an error saying i cant comunicate https over http). With https infront of the url i cant hit it.

@tamalsaha

This comment has been minimized.

Copy link
Member Author

commented Jul 31, 2017

I believe fixing #73 will fix this issue. I need to confirm from code.

@tamalsaha

This comment has been minimized.

Copy link
Member Author

commented Jul 31, 2017

Workaround that will work with <= 3.1.1 is using TCP on port 443 as long as there are no HTTP rules,
or, you can use a different port in TCP mode.

Then assign no secret for TCP mode. This will use the SSL certificate included in the app.

@gavinzhou

This comment has been minimized.

Copy link

commented Aug 2, 2017

Question:
can redirect http to https with voyager

@tamalsaha

@tamalsaha

This comment has been minimized.

Copy link
Member Author

commented Aug 2, 2017

@gavinzhou , can you give bit more details?

We have some example here (last para) on how to redirect from HTTP to HTTPS when used with AWS cert manager: https://github.com/appscode/voyager/blob/master/docs/user-guide/ingress/aws-cert-manager.md

@gavinzhou

This comment has been minimized.

Copy link

commented Aug 2, 2017

@tamalsaha

Thank you for your message
my project is run K8S on GKE work.
I use GCE ingress, nginx ingress and traefik. But complicate the architecture.

Voyager is a very good project.
Supports cross-naming space and multiple TLS
I'w change to the voyager.

@tamalsaha

This comment has been minimized.

Copy link
Member Author

commented Aug 2, 2017

Glad to hear that @gavinzhou . Let us know how it goes. We are also available on our Slack channel in case you need to any help with Voyager: https://slack.appscode.com/

@gavinzhou

This comment has been minimized.

Copy link

commented Aug 2, 2017

@tamalsaha
thank you. joined slack channel

@tamalsaha tamalsaha added this to the 3.2.0 milestone Aug 6, 2017

tamalsaha added a commit that referenced this issue Aug 11, 2017

Update Ingress spec (#317)
Fixes #46
Fixes #73
Fixes #128
Fixes #310
Fixes #138
Fixes #319
Fixes #271
Fixes #333
Fixes #346
Fixes #318

tamalsaha added a commit that referenced this issue Dec 13, 2017

Update Ingress spec (#317)
Fixes #46
Fixes #73
Fixes #128
Fixes #310
Fixes #138
Fixes #319
Fixes #271
Fixes #333
Fixes #346
Fixes #318
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.