Remove https and tweak database connections.