We have sitemap configured as
/en/sitemap.xml
This is working as expected in the publisher. However while accessing from dispatcher, see the following the dispatcher log
Unable to fetch vanity URLs from [ip-address]:4503/libs/granite/dispatcher/content/vanityUrls.html: remote server returned: HTTP/1.1 404 Not Found
[Thu Sep 10 21:37:51 2020] [I] [pid 79557] "GET /[path-to-en]/en/sitemap.xml" ! - 9ms [publishfarm/-]
It seems like the sitemap is treated as vanity URL. Any thoughts on how to prevent this?