githubEdit

How to setup HTTPS redirect in Ingress

Setup HTTPS Redirect By default, the Ingress setup allows traffic on port 80 (HTTP). For enhanced security, it's recommended to always redirect traffic to port 443 (HTTPS). Here's how to enable HTTP to HTTPS redirect: Access your Ingress configuration settings Enable the HTTPS redirect option as shown below: Once enabled, the system will automatically add the necessary ingress annotations to handle the redirect. Usage When HTTPS redirect is enabled: All HTTP traffic (port 80) will be automatically redirected to HTTPS (port 443) Users attempting to access your service via HTTP will be seamlessly redirected to the secure HTTPS version Best Practice: It is recommended to keep HTTPS redirect enabled in all environments, including production and development. While it's technically possible to bypass SSL in development environments, this is not recommended for security reasons.

Last updated

Was this helpful?