This worked in the past for me. But on a new install it is not generating the XML file at all. I can run php flarum fof:sitemap:build
without any issues. But no file is generated.
If I switch to multi-file mode, it creates the /sitemaps directory and the files no problem. But runtime mode won't create the XML file in the /public folder.
I have added the nginx fix already.
Is there a bug?