Allow Nginx to use templated config file

**WIP for review only**