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
commit ecd0f89c84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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=".