Open
Description
Why do you need it?
When serving some static files with app, users want to access files with or without suffix.
How could it be?
Implement one annotation witch support try_files
actions, like below:
higress.io/try_files: '$1 $1.html $1/index.html $1/'
.
When user access one path, try response content of some more paths, eg, when user access example.com/a
, response content using /a
, /a.html
,/a/index.html
, /a/
inorder, and only return non 200 status code when all these paths returns null.
Activity