You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
server {
...
allow 2001:0db8::/32;
deny all;
...
}
This appears to be because of an implementation choice. I think this could be done better. For example with a "access" parameter that uses an array of pairs, and preserves order, so you could do something in hiera like this:
@kristvanbesien you can simplify your Hiera configuration without the need to do a new release of this module. Feed "vhost_cfg_prepend" a hash with two keys "allow" and "deny", these keys take an array of strings.
vhost_cfg_prepend:
allow:
- 192.168.1.1
- 10.0.0.0/8deny:
- all
The nginx documentation has this example:
How would I implement this with this module and hiera?
I though I could do something like this:
This gives however:
This appears to be because of an implementation choice. I think this could be done better. For example with a "access" parameter that uses an array of pairs, and preserves order, so you could do something in hiera like this:
The text was updated successfully, but these errors were encountered: