Simple error pages personnalisation

Hello,

I would like to customise HTML error pages so there is no Bunkerweb information displayed (basically, I would only display a blank page with the error number).

I tried to create simple html files (very simple, just ‘HTML’ and ‘BODY’ tags) with only the error number in it, put them in /usr/share/bunkerweb/core/errors/files/ and in my Bunkerweb service config, in the “Errors” plugins, I added a line for each error/pages like :

401=401.html
404=404.html

The permissions are the same as the already existant /usr/share/bunkerweb/core/errors/files/error.html file.

When I try to simulate an error, these errors pages are not load and I just get a “Too many redirect” browser error.

What have I done wrong ?

Thank you !