Trying to install Flarum on a Ubuntu 18.04 with nginx, I have it in a folder with proper permissions
Here is my nginx file,
`server {
include /var/flarum/.nginx.conf;
listen 80;
listen [::]:80;
root /var/flarum/public;
index index.php;
server_name forum.domain.com www.forum.domain.com;
location ~ \.php$ {
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}`
It gives me a 404 error when trying to visit. Any thoughts?