Discovery URLs are not HTTPs

I got the same issue as below described when the squidex behind a proxy server.
I tried to change enforceHttps to true. but it doesn’t work, it just keeps redirecting

What is your baseUrl setting?

Your proxy server must set X-FORWARDED-PROTO header

Thanks!!!


:+1:

1 Like

HI Seamys. We have excatly th same problem. We have set X-FORWARDED-PROTO in the config for th site on the server with:

X-Forwarded-Proto

RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}

What did you use?

Thanks

Tiaan

I was thinking about using static values for hostname and protocol from the base url and just ignore all these headers.

This would make it much easier. But I am not sure if I miss any security issues. Right now I just follow best practices.