-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[nginx] ssl-redirect only defaults when at least one annotation is set #160
Comments
@sander-su Can you specify steps to reproduce this one? I'm having some similar issue, but the need is not to specify some annotation, but specific Also, after setting this, you have to change some of the items in 'location' array to a different path, then return it to '/'. Additionally, there is a question here: Do we really expect those redirects to be global, as in nginx template they're by location? |
I'd like to have them global. To reproduce: create an ingress rule without annotations. |
bump |
@sander-su Have tested this here also. I'm working now on other thing here (trying to improve the mutual authentication), but if you have any idea also in how to improve your issue in the code, will appreciate :) |
Currently I do not have much time.. |
SSLRedirect only defaults when at least one annotations is present on the ingress.
Hence, when no annotation is present on the ingress no 301 redirect is created.
Using nginx nginx-ingress-controller:0.8.3
The default is set in the ParseAnnotations method.
Is this method invoked when no annotations are set?
The text was updated successfully, but these errors were encountered: