diff --git a/direct-hosted-sites.yaml b/direct-hosted-sites.yaml index 2b666b8..ee4ae11 100644 --- a/direct-hosted-sites.yaml +++ b/direct-hosted-sites.yaml @@ -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