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
Is your feature request related to a problem? Please describe.
J8a hides HTTP response body of upstream 500 responses and replaces it with a standard "502 bad gateway" message. This currently cannot be disabled.
Describe the solution you'd like
Keep the 502 bad gateway response code, but add a config flag under "downstream". "detailedUpstream50x", which will include the raw upstream response. This should be a JSON property on the response and needs to be encoded.
{
"j8a":"Achuta!",
"ServerID":"f05917d6",
"Version":"v0.9.0",
"Code":502,
"Message":"bad gateway",
"UpResCode":"${insert upstream HTTP response code here }",
"UpResBody":"${insert upstream HTTP response body here }",
}
disable this setting by default, not recommended for production.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
J8a hides HTTP response body of upstream 500 responses and replaces it with a standard "502 bad gateway" message. This currently cannot be disabled.
Describe the solution you'd like
Keep the 502 bad gateway response code, but add a config flag under "downstream". "detailedUpstream50x", which will include the raw upstream response. This should be a JSON property on the response and needs to be encoded.
The text was updated successfully, but these errors were encountered: