jdauphant/ansible-role-nginx

How to add --set-xauthrequest flag?

Opened this issue · 2 comments

Thanks for a great role!
I have a problem setting --set-xauthrequest flag.
I tried

nginx_extra_root_params:
        - "--set-xauthrequest"

with no luck. Is there a place where flags can be added?

@svanschalkwyk Can you give me the reference of this option on nginx documentation ?

I believe the original poster was referring to a configuration parameter to https://github.com/bitly/oauth2_proxy, not to something in nginx itself. The README for oauth2_proxy is not clear that the flag applies to oauth2_proxy, not to nginx.