1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-12-19 23:52:17 +02:00

Merge pull request #206 from nniikkoollaaii/feature/update_docs_nginx_auth_request

update configuration.md auth_request section
This commit is contained in:
Joel Speed
2019-07-10 09:38:21 +01:00
committed by GitHub

View File

@@ -313,3 +313,5 @@ nginx.ingress.kubernetes.io/configuration-snippet: |
end end
} }
``` ```
You have to substitute *name* with the actual cookie name you configured via --cookie-name parameter. If you don't set a custom cookie name the variable should be "$upstream_cookie__oauth2_proxy_1" instead of "$upstream_cookie_name_1" and the new cookie-name should be "_oauth2_proxy_1=" instead of "name_1=".