This is useful if we want to expose this service to the Tor network because browsers usually refuse serving images from https protocol to insecure http protocol.