JeffreyTimmerman Your server config file is a bit confusing to read as there are many comments.
It looks like both config files are in the same directory, and that might be the issue. The .nginx.conf file should be in the Flarum root to work properly, and I'm not sure exactly what you changed here. You can still include it by using the full or relative path.