Some checks failed
Build and Deploy / build (push) Has been cancelled
- Create redirect-https middleware for permanent redirect (301) - Split IngressRoute: HTTP route redirects to HTTPS, HTTPS route serves app - Fixes Google Search Console 404 error on HTTP version - No application code changes, only routing configuration
10 lines
168 B
YAML
10 lines
168 B
YAML
apiVersion: traefik.io/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: redirect-https
|
|
namespace: manoonoils
|
|
spec:
|
|
redirectScheme:
|
|
scheme: https
|
|
permanent: true
|