Adding programmatic nginx support