You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error Handlingfastapi-reverse-proxy transforms upstream crashes into meaningful HTTPException responses (e.g., 502 Bad Gateway or 504 Gateway Timeout).
51
+
52
+
This allows you to implement custom failover logic, retry mechanisms, or specific error pages.
53
+
54
+
For a full implementation of a primary-to-backup failover system, see the [example](https://github.com/tfsantos05/fastapi-reverse-proxy/tree/main/examples/02_http_errors.py).
55
+
46
56
## Advanced Examples:
47
57
48
-
Check [examples](https://github.com/tfsantos05/fastapi-reverse-proxy/blob/main/examples) for full examples, including
58
+
Check [examples](https://github.com/tfsantos05/fastapi-reverse-proxy/tree/main/examples) for full examples, including:
0 commit comments