Add mechanism to allow Nginx configuration via FreeMarker template file
Changes from @aledsage review comments