great ideas Andrea, btw Auguri, buon anno ;)
> - what if you need several rules in a specific order? Should source, target and flags be within an array?yeah they should be
I thought about this more and should fit w/in the data_bag for an
application like we see w/ the application cookbook, rather than just
for rewrite rules.
file: data_bags/applications/my_esb.json
{
"rewrite_rules": [
. . .
]
}
This handles the case where rewrite rules for one application need to
be in order but not where the rewrite rules for one application need
to be process before another.
This strategy also doesn't tie the rules to a specific virtual host. I
need to put more thought into this.
Archive powered by MHonArc 2.6.16.