This file, and the other similar nginx config files, could be [templated using Jinja][jinja-config]. These includes, and other blocks, could be wrapped in an if, with a conditional comparing `grains['id']`

[jinja-config]: http://docs.saltstack.com/en/latest/ref/renderers/all/salt.renderers.jinja.html#jinja-in-files