abiosoft / abiosoft/caddy-exec

variable is always bounded to the first request

Open
#20 6 comments 4 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
155
Forks
21
PR merge metrics
No merged PRs in 30d

Description

```
:8080 {
route /* {
exec {
command bash
args /test.sh {path}
log file /var/log/caddy/caddy-exec.log
timeout 300s
}
}
}
```

The {path} variable is able to pass to the test.sh but it will always stay the same.
I don't think I am suppose to restart the server on every request.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.