Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
oveldman committed Feb 5, 2024
1 parent 25821e0 commit 8bf1fa9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: madworld-ingress
namespace: madworld
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "X-Forwarded-For $http_x_forwarded_for";
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ metadata:
cert-manager.io/subject-countries: "NL"
cert-manager.io/email-sans: "[email protected]"
kubernetes.io/ingress.class: "public"
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "X-Forwarded-For $http_x_forwarded_for";
spec:
Expand All @@ -42,7 +42,7 @@ spec:
- host: admin.mad-world.nl
http:
paths:
- path: "/((.*(?:css|css.map|html|js|json|png)$))|(.*)"
- path: "/((?:api/.*|.*(?:css|js|png)$))|(.*)"
pathType: Prefix
backend:
service:
Expand Down Expand Up @@ -82,7 +82,7 @@ spec:
- host: shipsimulator.mad-world.nl
http:
paths:
- path: "/((.*(?:css|css.map|html|js|json|png)$))|(.*)"
- path: "/((?:api/.*|.*(?:css|js|png)$))|(.*)"
pathType: Prefix
backend:
service:
Expand All @@ -102,7 +102,7 @@ spec:
- host: www.mad-world.nl
http:
paths:
- path: "/((.*(?:css|css.map|html|js|json|png)$))|(.*)"
- path: "/((?:api/.*|.*(?:css|js|png)$))|(.*)"
pathType: Prefix
backend:
service:
Expand Down

0 comments on commit 8bf1fa9

Please sign in to comment.