Option to remove trailing slash
Currently, GH pages work like this:
- Request
/about
- Nginx rewrite request to
/about/
- Fetch
/about/index.html
and send it back
Is it possible to add an option to enable the reverse behavior, e.g., favoring links like /about
over /about/
?
Behavior would be:
- Request
/about/
- Nginx rewrite request to
/about
- Fetch
/about/index.html
and send it back
If the request is /about
, fetch /about/index.html
and send it back.
Edited by 🤖 GitLab Bot 🤖