If i add
include /var/www/flarum/.nginx.conf;
to my site config it says
nginx: [emerg] unexpected end of file, expecting ";" or "}" in /var/www/flarum/.nginx.conf:72
my site config :
server {
#listen 80 default_server;
listen 88; ## listen for ipv4; this line is default and implied
listen [::]:88 default_server ipv6only=on; ## listen for ipv6
root /var/www/flarum/public;
index index.php;
server_name www.forum.melonensaft.eu forum.melonensaft.eu;
#add php suport (make sure you have php-fpm installed for it to work)
location ~* \.php$ {
fastcgi_split_path_info ^(.+.php)(/.+)$;
fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
}
include /var/www/flarum/.nginx.conf;
}