3 ms·
I usually create a "file filter" instead. Keep the extension as is (hi.html) and then use the try_files directive in nginx to make the server look for files wit
by ErikMarf 4y ago
I usually create a "file filter" instead. Keep the extension as is (hi.html) and then use the try_files directive in nginx to make the server look for files with the same path using .html as an example. It has been a while since I used nginx but it looks something like this:
try_files $uri.html
- indigodaddy 4y agoAh yes I remember stumbling on this years ago when I was digging on something. Thanks for the reminder!