I'm trying to serve a static file (domain.com/page.html) but make it accessible without the extension in the url (domain.com/page). I've tried a bunch of rewrites in a .htaccess file but none of them work:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule .*$ $1.html [L]
...and then I realised, serving it via an Nginx static-only app and I have no idea if htaccess is supported on that. I guess I could redo it as a php+apache app, but then I'd be allowing php which was one of the reasons for using a pure-static app for these files. Some googling shows a variety of ways of doing redirects in nginx, but I'm not sure which are actually relevent to the OpalStack setup.
Short version: What's the best app type to choose to serve static files that also lets me rewrite the urls?
Thanks.