conf for https/http api