Skip to content
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

Allow arrays to be specified as values in location_cfg_* parameters #201

Closed
wants to merge 1 commit into from

Conversation

grooverdan
Copy link
Contributor

inspired by the incomplete #147 I've made this change as per the comments on it.

@CpuID
Copy link

CpuID commented Jan 24, 2014

+1 - this would be very useful.

@jbcpollak
Copy link

👍 I applied this patch (manually) to my version of the module and it works great. I don't know if it still supports non-array versions (ie, is it backward compatible?), but this solved my problem of specifying multiple rewrite commands.

Thanks.

@jfryman
Copy link
Contributor

jfryman commented Mar 4, 2014

Can you rebase? I'll get this merged in.

Allow arrays to be specified as values in location_cfg_{prepend,append} and
vhost_cfg_{ssl_,}{prepend,append} parameters.
@grooverdan
Copy link
Contributor Author

(ie, is it backward compatible?)

yes. Calling Array(value).each makes sure it is. The spec files contain both forms to be sure.

All rebased, test cases added and a few more missing key value pairs to array compatible now.

@grooverdan
Copy link
Contributor Author

all in #266 - use that PR.

@grooverdan grooverdan closed this Mar 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants