502 Bad Gateway /nginx/1.18.0 (Ubuntu)

Hello everyone ,
I’m getting this error in my libreNMS server,I did not get any error, how can I solve this?

If this is a new installation then check the Installation documentation for all the fpm stuff (ownership of sockets and users etc…)