Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
oveldman committed Feb 4, 2024
1 parent b2c4de0 commit f19e6bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ metadata:
name: madworld-ingress
namespace: madworld
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "X-Forwarded-For $http_x_forwarded_for";
spec:
rules:
- host: admin.mad-world.local
http:
paths:
- path: "/((.*(?:css|css.map|html|js|json|png)$))|(.*)"
- path: /
pathType: Prefix
backend:
service:
Expand Down Expand Up @@ -52,7 +51,7 @@ spec:
- host: shipsimulator.mad-world.local
http:
paths:
- path: "/((.*(?:css|css.map|html|js|json|png)$))|(.*)"
- path: /
pathType: Prefix
backend:
service:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ 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: /$1
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "X-Forwarded-For $http_x_forwarded_for";
spec:
Expand All @@ -42,7 +41,7 @@ spec:
- host: admin.mad-world.nl
http:
paths:
- path: "/((.*(?:css|css.map|html|js|json|png)$))|(.*)"
- path: /
pathType: Prefix
backend:
service:
Expand Down Expand Up @@ -82,7 +81,7 @@ spec:
- host: shipsimulator.mad-world.nl
http:
paths:
- path: "/((.*(?:css|css.map|html|js|json|png)$))|(.*)"
- path: /
pathType: Prefix
backend:
service:
Expand All @@ -102,7 +101,7 @@ spec:
- host: www.mad-world.nl
http:
paths:
- path: "/((.*(?:css|css.map|html|js|json|png)$))|(.*)"
- path: /
pathType: Prefix
backend:
service:
Expand Down

0 comments on commit f19e6bf

Please sign in to comment.