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

RedirectToHTTPS error #119

Closed
cwhenderson20 opened this issue Feb 22, 2017 · 1 comment
Closed

RedirectToHTTPS error #119

cwhenderson20 opened this issue Feb 22, 2017 · 1 comment

Comments

@cwhenderson20
Copy link

Hey @pleshakov!

I built a custom image using PR #116 that I submitted; unfortunately, I get this error when attempting to use the feature:

Failed to write template template: ingress.tmpl:37:15: executing "ingress.tmpl" at <$server.RedirectToHT...>: can't evaluate field RedirectToHTTPS in type nginx.Server

As I mentioned before I've really only ever read Go, not written it, so I'm doing my best to diagnose the cause of the issue but I'm coming up short.

Might you have some insight into this? Also, I'm not really sure how to test this locally as the ingress controller expects to be in kubernetes, which is hard to emulate.

@cwhenderson20
Copy link
Author

cwhenderson20 commented Feb 22, 2017

False alarm! I had an old binary lying around when I built the docker image. make clean fixed that. It works as expected!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant