mrcheat_t Hi there, welcome! The getting started guide has an example
nginx.conf that is working out of the box and is also used in the official Docker image that also uses Nginx with PHP 8.
Just try that one first. If it doesn’t work, turn on debugging in the config file of your site and check the request that is made in the browser console. It should tell you what environment variable is defined by Nginx and is taken to figure out the routing right at the top of the log.