abiosoft / abiosoft/caddy-exec
Redirect output to a file
Abierto
- Lenguaje dominante
- Go
- Estrellas
- 155
- Forks
- 21
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.