Just here to point out what seems to be a bug with the asset optimization settings. With the default, like this:
A file built at
/page/index.html and accessed by the URL
https://mysite.com/page got an unwanted 301 redirect to
By unticking ‘Disable asset optimization’, unticking all of the options below then reticking ‘Disable asset optimization’, which looks UI-wise like exactly the same thing, the 301 disappeared.