ingress: bikoret.org redirect without $request_uri (admission webhook refuses it)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
85883acc17
commit
1a069cf62d
1 file changed
+2
-1
@@ -121,7 +121,8 @@ metadata:
|
||||
app.kubernetes.io/name: shorashim
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
nginx.ingress.kubernetes.io/permanent-redirect: https://bikoret.ch$request_uri
|
||||
# The admission webhook refuses `$request_uri` in this annotation; the bare host is enough for a redirect domain.
|
||||
nginx.ingress.kubernetes.io/permanent-redirect: https://bikoret.ch
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
|
||||
Reference in new issue
Block a user