diff options
Diffstat (limited to 'plugins/http/config/static.go')
-rw-r--r-- | plugins/http/config/static.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/http/config/static.go b/plugins/http/config/static.go index 416169d2..e9acc3e4 100644 --- a/plugins/http/config/static.go +++ b/plugins/http/config/static.go @@ -9,11 +9,12 @@ import ( // Static describes file location and controls access to them. type Static struct { // Dir contains name of directory to control access to. + // Default - "." Dir string // HTTP pattern, where to serve static files - // for example - `/static`, `/my-files/static`, etc - // Default - /static + // for example - `/static/`, `/my-files/static/`, etc + // Default - /static/ Pattern string // forbid specifies list of file extensions which are forbidden for access. |