WIP(ingress): Add temporary rewrite

This commit is contained in:
Tanguy Herbron 2025-01-20 15:17:57 +01:00
parent 51c1988848
commit f7ca4a9854

View File

@ -9,6 +9,7 @@ metadata:
acme.cert-manager.io/http01-edit-in-place: "true"
nginx.ingress.kubernetes.io/configuration-snippet: |
rewrite ^/metrics(/?)$ https://git.halis.io/$1 permanent;
rewrite ^/athsc/(.*)$ https://git.halis.io/athens-school/$1 permanent;
spec:
tls:
- hosts: