Skip to content

Instantly share code, notes, and snippets.

@jseiser
Created December 11, 2024 20:39
Show Gist options
  • Save jseiser/d76815dda8c1f019ece3532275804eb3 to your computer and use it in GitHub Desktop.
Save jseiser/d76815dda8c1f019ece3532275804eb3 to your computer and use it in GitHub Desktop.
nginx.ingress.kubernetes.io/auth-response-headers: X-Vouch-User
nginx.ingress.kubernetes.io/auth-signin: https://vouch-ops-dev.my.tld/login?url=$scheme://$http_host$request_uri&vouch-failcount=$auth_resp_failcount&X-Vouch-Token=$auth_resp_jwt&error=$auth_resp_err
nginx.ingress.kubernetes.io/auth-snippet: |
auth_request_set $auth_resp_jwt $upstream_http_x_vouch_jwt;
auth_request_set $auth_resp_err $upstream_http_x_vouch_err;
auth_request_set $auth_resp_failcount $upstream_http_x_vouch_failcount;
nginx.ingress.kubernetes.io/auth-url: https://vouch-ops-dev.my.tld/validate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment