caddyhttp: New index directive for alternate index file names (#1567)

* caddyhttp: Allow to alternate Index

* Move Index directive

* Fix misspelling outside this PR
This commit is contained in:
elcore
2017-04-17 19:02:44 +02:00
committed by Matt Holt
parent 6b66b19deb
commit a56a833423
5 changed files with 75 additions and 1 deletions
+1
View File
@@ -434,6 +434,7 @@ func RegisterDevDirective(name, before string) {
var directives = []string{
// primitive actions that set up the fundamental vitals of each config
"root",
"index",
"bind",
"maxrequestbody", // TODO: 'limits'
"timeouts",