Yoast SEO 14.0.4 sitemap.xml 404 on local

https://yoast.com/help/my-sitemap-is-giving-a-404-error-what-should-i-do/ Maybe local could add rewrite support for yoast by default?
https://yoast.com/help/xml-sitemaps-nginx/