build just one config

Snap wants to have just one config with both HTTP and HTTPS info.
build HTTPS config
get rid of infinite loop

This isn't needed anymore.