martylamb / bookmartian

4 stars 1 forks source link

web server default to index.html #41

Closed jmutchek closed 8 years ago

jmutchek commented 8 years ago

@martylamb is there a way for you to configure the web server to default to index.html when no path is specified? Or would you rather we do that with caddy?

martylamb commented 8 years ago

No problem. 302 redirect from / to index.html?

jmutchek commented 8 years ago

makes sense, I'm not sure if most web servers issue the 302 or simply serve up the "default" document when configured that way... easy to check. result should be the same for our purposes