We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
apiVersion: apisix.apache.org/v2 kind: ApisixRoute
i set annotation for http https redirection but didnt work is it compatible with crd or with ingress only
The text was updated successfully, but these errors were encountered:
When using Ingress, you have two options:
annotations: k8s.apisix.apache.org/http-to-https: "true"
annotations: k8s.apisix.apache.org/plugin-config-name: "echo-and-cors-apc"
However, when using the ApisixRoute CRD, to enable HTTP to HTTPS redirection, you need to specify it in the spec as follows:
plugins: - config: http_to_https: true enable: true name: redirect
https://apisix.apache.org/docs/ingress-controller/concepts/annotations/
Sorry, something went wrong.
No branches or pull requests
Issue description
apiVersion: apisix.apache.org/v2
kind: ApisixRoute
i set annotation for http https redirection but didnt work is it compatible with crd or with ingress only
Environment
The text was updated successfully, but these errors were encountered: