Hi. I don't know what I'm doing, but a decade ago I managed a bit of php
I used composer (which I never used before) to install to /path/flarum-test then had to install a few things like php dom and curl to satisfy requirements, not big deal. I haven't attempted doing anything with a database. I wanted some kind of hello on screen so I can tell I'm on the right path
I noticed there isn't a proxy_pass or fastcgi in the .nginx.conf file, I ran php in /var/www/flarum-test and netstat doesn't show it listening to a port. I have no idea where the pipe is. I'm using 8.2.28 and my nginx server block is below. I wrote echo hi > test.txt and curl 127.0.0.1:2040/test.txt to see the text but I can't get anything else showing. curl 127.0.0.1:2040/ shows a 403 which make sense since it doesn't know how to talk to php
server {
listen 1234;
listen [::]:1234;
root /var/www/flarum-test/public;
include /var/www/flarum-test/.nginx.conf;
}