Expected behavior
If there's an error in the upstream server response return 502,
If there's a timeout in the upstream response / DNS / TLS handshake etc return 504
If there's an application error / unexpected exception in http-proxy-middleware return 500
Actual behavior
Any error returns 500
Setup
- http-proxy-middleware: latest / N/A
proxy middleware configuration
N/A
Expected behavior
If there's an error in the upstream server response return 502,
If there's a timeout in the upstream response / DNS / TLS handshake etc return 504
If there's an application error / unexpected exception in http-proxy-middleware return 500
Actual behavior
Any error returns 500
Setup
proxy middleware configuration
N/A