Programmatic nginx generation