Merge pull request #269 from YenTheFirst/escape-k8s-auth-signin
Escape original request URI in sample kubernetes ingress configuration
This commit is contained in:
commit
49f1320be6
|
|
@ -310,7 +310,7 @@ If you use ingress-nginx in Kubernetes (which includes the Lua module), you also
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
nginx.ingress.kubernetes.io/auth-response-headers: Authorization
|
nginx.ingress.kubernetes.io/auth-response-headers: Authorization
|
||||||
nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2/start?rd=$request_uri
|
nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2/start?rd=$escaped_request_uri
|
||||||
nginx.ingress.kubernetes.io/auth-url: https://$host/oauth2/auth
|
nginx.ingress.kubernetes.io/auth-url: https://$host/oauth2/auth
|
||||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||||
auth_request_set $name_upstream_1 $upstream_cookie_name_1;
|
auth_request_set $name_upstream_1 $upstream_cookie_name_1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue