add configs for NGinx and Upstart