mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
3ff39494cd
Set `config.static_index` to serve a static directory index file not named `index`. For example, to serve `main.html` instead of `index.html` for directory requests, set `config.static_index` to `"main"`. |
||
---|---|---|
.. | ||
bar | ||
foo | ||
gzip | ||
400.html | ||
404.html | ||
500.da.html | ||
500.html | ||
bar.html | ||
index.html | ||
other-index.html |