file_server pass thru mode

Matt Holt 2019-11-15 17:35:28 -07:00
parent bdea298ad8
commit 543ae0e03b

@ -1848,7 +1848,8 @@ This module executes placeholders in most of its properties. It does not call th
"browse": {
"template_file": ""
},
"canonical_uris": true
"canonical_uris": true,
"pass_thru": false
}
```
@ -1858,6 +1859,7 @@ This module executes placeholders in most of its properties. It does not call th
- `browse`: Enables browsing if a directory was requested.
- `browse.template_file`: Use this template file instead of the default browse template.
- `canonical_uris`: Use redirects to enforce trailing slash appended to URIs for directories, or to remove trailing slash from URIs for files. Default is true.
- `pass_thru`: If enabled, when a requested file is not found, invoke the next handler in the chain instead of returning a 404 error. By default, this is false (disabled).