See, there is the code that calls: include /etc/nginx/conf.d/*.conf;
Inside the conf.d folder should be your actual website.conf, e.g. flarum.conf which in my case also calls: include /var/www/flarum/.nginx.conf;
As far as I remember after some nginx update sites-available/sites-enabled did change and weren't in use anymore. But I only have one site (flarum) on my nginx.
Your flarum.conf belongs to the conf.d folder, but it is inside your sites-available folder. nginx -t will still be successful, because it doesn't find any config inside the conf.d folder.
Edit: oh, that part has already been answered by @luceos . :\