Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: git matcher routes #10

Closed
joeworkman opened this issue Mar 2, 2022 · 1 comment
Closed

feature: git matcher routes #10

joeworkman opened this issue Mar 2, 2022 · 1 comment
Assignees

Comments

@joeworkman
Copy link

A clear and concise description of what you want the system to do.

It would be good to be able to define a matcher route instead of defining an explicit route.

What are the Caddyfile directives that need to be added.

Current:

route /update {
    git update repo aspecthq.com
}

Requested:

git /update update repo aspecthq.com
@greenpau
Copy link
Owner

@joeworkman , please see "routeless" config example.

127.0.0.1, localhost {
respond /version* "1.0.0" 200
git /update/authp.github.io update repo authp.github.io
root * {$HOME}/tmp/authp/gitcfg/authp.github.io
file_server
}

FYI, will release this weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants