abiosoft / abiosoft/caddy-exec
Redirect output to a file
Đang mở
- Ngôn ngữ chính
- Go
- Star
- 155
- Fork
- 21
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I'm trying to redirect the output of a command to a file so that it can be served. Is this possible?
```
route /domains {
root * /var/www/localhost
exec /bin/ls /var/www > /var/www/localhost/domains {
pass_thru
}
file_server /domains
}
```
The /var/www/localhost/domains file exists but never gets populated and there are no errors on the server.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.