memorysafety / river

This repository is the home of the River reverse proxy application, based on the pingora library from Cloudflare.
https://www.memorysafety.org/initiative/reverse-proxy/
Apache License 2.0
1.72k stars 101 forks source link

Serve `index.html` when user requests folder path in static file hosting #69

Open jamesmunns opened 4 weeks ago

jamesmunns commented 4 weeks ago

If we are serving static files and the user GETs a folder path URI like /, we should probably automatically serve /index.html.

XiNiHa commented 5 days ago

Worth mentioning this I guess: https://bjornlu.com/blog/trailing-slash-for-frameworks#servers