Scheduled posts not publishing

Hey,
I checked a lot of things the last days, but nothing was a success. Here are the things I did:

  • nginx proxy was set to x-forwarded-proto: $scheme, I made an override to x-forwarded-proto: https.
  • I set this location / settings for nginx: Ghost http vs https behind reverse proxy - #11 by rmamba
  • I changed configuration in docker to the propper port.
  • I added extra_hosts to docker.
  • I installed curl in the docker-container.

My observation:

  • curl domain.tdl or curl http://domain.tdl just returns the 301 message.
  • curl http://domain.tdl returns the propper page.

I assume, there is a problem with https/http, but everything I found for this didn’t solve my problem. Still can’t schedule posts and still can’t curl non-https.
According to this page, I just have to set x-forwarded-proto: https, what I did, but no help. Ghost reverse proxy configuration - avoiding infinite redirect loops

Is there any ghost config I can adjust here?