Skip to content

Commit

Permalink
Fix for redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
berrydenhartog committed Jan 27, 2025
1 parent 192cd52 commit 46710f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions base/oauth2-proxy/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ metadata:
name: ing
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/configuration-snippet: |
if ($request_uri ~* "^/admin") {
return 302 https://meet.la-suite.apps.digilab.network$request_uri;
}
spec:
ingressClassName: nginx
rules:
Expand All @@ -17,6 +23,7 @@ spec:
number: 4180
path: /
pathType: Prefix

tls:
- hosts:
- oauth2-proxy.la-suite.apps.digilab.network
Expand Down

0 comments on commit 46710f9

Please sign in to comment.