Skip to content

variable is always bounded to the first request #20

@rustjson

Description

@rustjson
: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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions