add_static_file_server
Add a static file server route to Caddy by specifying a URL path and a filesystem root directory.
Instructions
Add a static file server route to Caddy. path: URL path to match (e.g., '/files/*'). root: filesystem directory to serve. server_name: auto-detects first server if empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| root | Yes | ||
| server_name | No |