binding (filesystem)
Zilla runtime filesystem binding
Defines a binding with
filesystem
support, with server
behavior.The
server
kind filesystem
binding provides access to files and directories on the local filesystem, optionally following symbolic links.Behaves as a web server when combined with
tcp,
tls
, http
and http-filesystem
bindings."filesystem_server0":
{
"type" : "filesystem",
"kind": "server",
"options":
{
"location": "web/"
}
}
Binding with support for
filesystem
.Name (* = required) | Type | Description |
---|---|---|
type * | const "filesystem" | Support filesystem accessfiles and directories |
kind * | enum [ "server" ] | Behave as a filesystem server |
object | filesystem -specifc options |
Options for
filesystem
access.Name (* = required) | Type | Description |
---|---|---|
location | string | File system URI or directory name with trailing slash. |
symlinks | enum [
follow ,
ignore ] | How to treat symbolic links.
Defaults to ignore . |
Last modified 10mo ago