Open onsails opened 9 years ago
I've got the same problem and using
location2
proxy_set_header:
- "foo"
- "bar"
ends up in
proxy_set_header ['foo', 'bar']
I created my own version of the nginx playbook based on this one, but with a large number of tweaks (ericpaulbishop/ansible-role-nginx-server), including a syntax to specify multiple directives like you want. Maybe this will help, or you could port this part of my playbook back to this one? The relevant template file you need to make this work is the templates/site.j2 file.
We happily accept upstream PRs that fix issues you guys are running into...
This configuration ends up with one proxy_set_header directive.