If you don't specify the protocol in a URL, the browser will choose either HTTP or HTTPS, depending on which is appropriate. Also, more generally, what is this URL supposed to be for? Why don't you refer to `settings.STATIC_URL`?