change to regex-type ingress (haproxy-specific)

This commit is contained in:
James Andariese 2025-04-11 14:40:25 -05:00
parent 3225fdb7d6
commit 6f80f4fece

View File

@ -2,6 +2,8 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
haproxy-ingress.github.io/path-type: regex
name: direct-hosted-sites
namespace: garage
spec:
@ -10,18 +12,8 @@ spec:
- host: 'strudelline.net'
http:
paths:
- path: /
pathType: Exact
backend:
service:
name: garage
port:
name: s3-web
- host: 'strudelline.net'
http:
paths:
- path: /index.html
pathType: Exact
- path: /([^/]+.html)?$
pathType: ImplementationSpecific
backend:
service:
name: garage