My Caddy server is working really well, it’s a delight to use and setup. Thanks to the maintainers for building this!
I’m simply serving static files, all ending in the .html extension.
Not unexpectedly, the .html extensions show up in the URL in the browser’s address bar.
However, it would be nice if I could call up my files in the URL without the .html extension, and also not show the .html extension after the file is loaded.
Example static file name:
Should be callable as and show as:
I’ve looked through the docs (rewrite, uri, request matchers) but couldn’t quite figure it out yet.
Edit: My Caddy version is v2.5.2.
Thank you very much for any help.