Skip to content

Commit

Permalink
fix(k8s/your-spotify): added ssl-redirect and regex path mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
chkpwd committed Apr 19, 2024
1 parent 6cf7b60 commit b718519
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions kubernetes/apps/tools/your-spotify/app/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,18 +124,19 @@ spec:
client:
annotations:
external-dns.alpha.kubernetes.io/target: ${EXTERNAL_DOMAIN}
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
enabled: true
className: ext-ingress
hosts:
- host: "your-spotify.${EXTERNAL_DOMAIN}"
paths:
- path: /
- path: /(.*)
pathType: Prefix
service:
identifier: client
port: http
- path: /api
- path: /api(/|$)/(.*)
pathType: Prefix
service:
identifier: server
Expand Down

0 comments on commit b718519

Please sign in to comment.