init
This commit is contained in:
commit
b10790c212
40 changed files with 4149 additions and 0 deletions
16
tmpl/file_server
Normal file
16
tmpl/file_server
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{{.Domain}} {
|
||||
root * {{.FileDirPath}}
|
||||
file_server{{if .EnableBrowser}} browse{{end}}
|
||||
{{- range .Headers}}
|
||||
header {{.}}
|
||||
{{- end}}
|
||||
{{- if .EnableLog}}
|
||||
import log {{.LogDomain}}
|
||||
{{- end}}
|
||||
{{- if .EnableErrorPage}}
|
||||
import error_page
|
||||
{{- end}}
|
||||
{{- if .EnableEncode}}
|
||||
import encode
|
||||
{{- end}}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue