core
core copied to clipboard
[BUG] Entering admin with https generates many errors
I deployed a cat instance on a server where kubernetes orchestrates the service. I added the CORE_USE_SECURE_PROTOCOLS=true parameter but when I navigate the admin I have many errors.
the problem is that in the endpoint called without the slash. when it redirects it breaks because it does it in http
Maybe the solution is explained at this link: https://stackoverflow.com/questions/63511413/fastapi-redirection-for-trailing-slash-returns-non-ssl-link
At the moment I solved the problem adding this parameter: FORWARDED_ALLOW_IPS
But I suppose that the redirect could be avoided adding "/" at the end of the url.