bu blok normalde doğru. ama neredesinde hata var ise bana 12 satır hatalı diye uyarıyor.
server {
listen 80;
listen [::]:80;
server_name domain.com www.domain.com;
root /home/durpoy/flarum-domain/public;
index index.php index.html index.htm;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
include /home/durpoy/flarum-domain/.nginx.conf;
}