-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add Variable replace possibility #17
Add Variable replace possibility #17
Conversation
This looks sooooo useful to me. Any update? |
Well I have add this feature to my fork https://github.com/git001/caddy-exec as I don't know if the PR will be merged. |
Thanks @git001! I'm new to caddy and go. I have go built with the abiosoft version of caddy-exec. How can I build it with your version? |
@richcorbs should be |
@richcorbs as @yroc92 written can you create your own caddy version with xcaddy you can add with |
Thank you both for the help. What's the syntax? This is what I'm trying:
When I curl that route with
|
Please try to use |
Progress! I tried using
I'm still getting Where does |
well |
I don't understand. I'm not adding exec anywhere. Exec only shows up as the
directive in the config.
…On Tue, Dec 13, 2022, 9:08 AM Aleks ***@***.***> wrote:
well exec is wrong here. just use /bin/ls.
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADKXLYFLOJ4HLVMJNA2N6LWNCNRJANCNFSM5VDHECJA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Is it possible that caddy-exec is adding in "exec" somehow? Do you have a working configuration you could share with me? |
I had an idea. Is this only supported in the |
I got around the Whatever querystring is passed the first time is what it remembers for every execution after that. I was hoping it might be dynamic on every request. |
Yes I have tested it only with |
@abiosoft Any chance of getting this merged? It would be extremely helpful to be able to replace |
Done ✅ |
@abiosoft Thanks |
I'm still seeing that placeholders are not dynamic, is this working for others? |
Solve #7