adds config for ssl and domains