themusicman@lemmy.world to Programmer Humor@lemmy.ml · 2 years agoLemmylemmy.worldimagemessage-square75linkfedilinkarrow-up1388arrow-down110
arrow-up1378arrow-down1imageLemmylemmy.worldthemusicman@lemmy.world to Programmer Humor@lemmy.ml · 2 years agomessage-square75linkfedilink
minus-squaremc1472@lemmy.fmhy.mllinkfedilinkEnglisharrow-up1·2 years agolemmy does not return 502 error codes because 502 means “bad gateway” and lemmy is not acting as a gateway, nginx is. An nginx sends the html. All apps should check the status code for codes like this one that don’t come from apps.
lemmy does not return 502 error codes because 502 means “bad gateway” and lemmy is not acting as a gateway, nginx is. An nginx sends the html. All apps should check the status code for codes like this one that don’t come from apps.