Open pohmelie opened 6 months ago
Does the Proxy fix middleware solve this?
I think the answer is «probably» because I can't test it right now. We moved out of any fastapi redirections and forbid them, so the problem gone. Maybe this can be closed, not sure. 🤔
We faced with
http
/https
redirect issue. So, the http hypercorn server is behind the nginx https server and redirection is going tohttp
schema. More details here: https://stackoverflow.com/questions/63511413/fastapi-redirection-for-trailing-slash-returns-non-ssl-link