fixes #1850 - auto-publish to http and https