-
-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add_header doesn't support headers properly #803
Comments
Do you have example error output from nginx? nginx documentation doesn't mention quotes being required. |
I can generate one. If you have a header with a space in the content, nginx will generate an invalid arguments error. -Travis Sent from my iPhone
|
Ah, that makes sense. I've restarted the failed build, it should pass now. I'll go ahead and merge then. Thanks! |
Resolving issue #803 by adding quotes around the parameters
Resolving issue voxpupuli#803 by adding quotes around the parameters
The add_header call needs to wrap things in quotes or nginx freaks out.
https://github.com/jfryman/puppet-nginx/blob/56e1c591bf5bfd06c34782c66953b3bc4b10fafa/templates/vhost/vhost_ssl_header.erb#L134
https://github.com/jfryman/puppet-nginx/blob/56e1c591bf5bfd06c34782c66953b3bc4b10fafa/templates/vhost/vhost_header.erb#L131
The text was updated successfully, but these errors were encountered: