What configuration defines the payload URL?

So I have Traefik with SSL installed on my Kubernetes cluster leaving my Drone with no TLS. So I’m curious what configuration (ENV VAR?) defines the payload URL to either use HTTP or HTTPS when it creates a webhook in Github.