abiosoft / abiosoft/caddy-exec

variable is always bounded to the first request

Offen
#20 6 Kommentare 4 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
155
Forks
21
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

```
: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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.