502 NGINX
I encountered the NGINX 502 Bad Gateway error while uploading photos. Do you have any idea how to solve it? I couldn't find any error logs in NGINX
2 Replies
Without more information hard to help. Check your php logs
2023/07/21 08:08:16 [error] 75303#75303: *29968 recv() failed (104: Unknown error) while reading response header from upstream, client: 81.196.186.47, server: api.sxmsir.com, request: "POST /livewire/message/media-library::media.upload-media HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.1-fpm-graffino.sock:", host: "api.sxmsir.com", referrer: "https://api.sxmsir.com/admin/media-library" I found this error in NGINX logs