Did you set it by setting ENV variable DISCOURSE_FORCE_HTTPS to true? Maybe you set it after you uploaded the logo?
DISCOURSE_FORCE_HTTPS