nginx+php-fpm does not start

When trying to access localhost, a 403 Forbidden error occurs.
I can upload configs. Please help, what should I do?

Answer 1, authority 100%

Alternatively, you could have changed the server section and changed the root property, or added the location directive and configured it incorrectly, because of which it blocks your access.

Post the nginx server config, if any changes were made, of course. And look in the error log to see what it says.