Not able to open login page on https

When I try to open panel/login page on https it shows the following error.

Mixed Content: The page at ‘https://my-domain-name/panel/login’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://my-domain-name/media/panel/f9335d6b469643eb39665df09fba0be2/css/style.css’. This request has been blocked; the content must be served over HTTPS.

Rest all the pages are running fine.

If i change config with hardcoded url options
then the following error appears

index.js:1 DOMException: Failed to execute ‘pushState’ on ‘History’: A history state object with URL ‘http://my-domain-name/panel/login’ cannot be created in a document with origin ‘https://my-domain-name’ and URL ‘https://my-domain-name’.

@ahmetbora @texnixe Any idea?

Could this problem you are experiencing be related to this?

When will this resolve? @texnixe

Should get solved in 3.7.0

I am not able to apply kirby license if I am opening panel through the IP @texnixe

How about to solve the root cause (if I get it right), namely

and make sure the site is completely accessible via https and only via https?