I\'ve just recently moved my websites from apache2 to Nginx as my new web server backend. got to love problems aha.
HTML files in the web host director work prior to php
first, as the log, your problem is...
you dont have the sock! the sock (php7.2-fpm----) is made when you start php.
check the location to make the sock.
run php (sudo service php7.2-fpm restart)
finish.