So let’s say that I have this bit of config that I want to import into all of my websites.
(block-wordpress) {
@wordpress {
path_regexp wp-\w+
}
respond @wordpress "No Wordpress here. Piss Off!!!" 404
}
Right now I can do this…
website.com {
root * /var/ww/website.com
import block-wordpress
}
website2.com {
root * /var/ww/website2.com
import block-wordpress
}
Now in real life I have a lot more config than that so it would be nice if I could centralize the common imports/config that can go into all sites. Maybe something like this…?
* {
import block-wordpress
}
website.com {
root * /var/ww/website.com
}
website2.com {
root * /var/ww/website2.com
}