change to regex-type ingress (haproxy-specific)
This commit is contained in:
parent
3225fdb7d6
commit
6f80f4fece
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user