Rearrange nginx modules to reduce hiera duplication