Hello,
Thank you for contacting Rank Math today.
Nginx is known to sometimes hinder the generation of sitemaps on a number of site. The configuration codes are meant to ensure this doesn’t happen and your sitemap is generated successfully.
Once you have added the code, please check the following:
Is the sitemap working fine in your browser? You can check that by going domain(.)com/sitemap_index.xml
If the sitemap is working fine, you can try validating it on this link: https://www.xml-sitemaps.com/validate-xml-sitemap.html
If it is valid, head over to your GSC and submit only your main sitemap file(sitemap_index.xml). if you had submitted any other sitemaps, please make sure to remove then=m when submitting Rank math sitemap. Let us know if you face any issues.
Looking forward to helping you. Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.