mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-09 03:04:57 -04:00
file_server pass thru mode
parent
bdea298ad8
commit
543ae0e03b
@ -1848,7 +1848,8 @@ This module executes placeholders in most of its properties. It does not call th
|
|||||||
"browse": {
|
"browse": {
|
||||||
"template_file": ""
|
"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`: Enables browsing if a directory was requested.
|
||||||
- `browse.template_file`: Use this template file instead of the default browse template.
|
- `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.
|
- `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).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user