Skip to content

Commit

Permalink
Rewrite Strapi URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer committed Sep 4, 2024
1 parent 764616c commit 31d423c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions k8s/makemyflix/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ metadata:
name: makemyflix
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
ingressClassName: nginx
tls:
Expand All @@ -14,8 +16,8 @@ spec:
- host: makemyflix.netwerkdigitaalerfgoed.nl
http:
paths:
- path: /admin
pathType: Prefix
- path: /strapi/?(.*)$
pathType: ImplementationSpecific
backend:
service:
name: makemyflix-strapi
Expand Down

0 comments on commit 31d423c

Please sign in to comment.