maximilianosorich
11/26/2025, 12:04 PMrouting {
staticResources("/", "files")
}
When I call directly in the browser it works, but when I do:
curl -I <http://example.com/sitemap.xml>
The response is:
HTTP/1.1 404 Not Found
Content-Length: 853
Content-Type: text/html; charset=UTF-8
I suppose this content is from the Status Pages plugin:
install(StatusPages) {
statusFile(HttpStatusCode.NotFound, filePattern = "error#.html")
}
I have tried the same with curl in localhost with same results.
Is this normal behaviour?Thomas Urbanitsch
11/26/2025, 12:24 PMmaximilianosorich
11/26/2025, 2:50 PM