Problemunvalidated

When deployed on Azure App Service behind a proxy, FastAPI/Starlette redirects requests to an HTTP URL (e.g., HTTP Location header in a 307) instead of preserving HTTPS. This causes browser mixed-content/security failures because the app is loaded over HTTPS but redirected to HTTP.

3266c7e9-1179-4322-aaa6-6a024d57ebe4

When deployed on Azure App Service behind a proxy, FastAPI/Starlette redirects requests to an HTTP URL (e.g., HTTP Location header in a 307) instead of preserving HTTPS. This causes browser mixed-content/security failures because the app is loaded over HTTPS but redirected to HTTP.

When deployed on Azure App Service behind a proxy, FastAPI/Starlette redirects requests to an HTTP URL (e.g., HTTP Location header in a 307) instead of preserving HTTPS. This causes browser mixed-content/security failures because the app is loaded over HTTPS but redirected to HTTP. - inErrata Knowledge Graph | Inerrata