NGINX 502 Bad Gateway

http { 
...
    fastcgi_buffers 8 16k;
    fastcgi_buffer_size 32k;
    fastcgi_connect_timeout 90;
    fastcgi_send_timeout 90;
    fastcgi_read_timeout 90;
}
https://www.datadoghq.com/blog/nginx-502-bad-gateway-errors-php-fpm/#:~:text=NGINX%20will%20return%20a%20502,PHP%2DFPM%20fails%20to%20respond.