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

replacer: working directory global placeholder #5127

Merged
merged 1 commit into from Oct 7, 2022

Conversation

dunglas
Copy link
Collaborator

@dunglas dunglas commented Oct 7, 2022

Sometimes it can be useful to have access to the current working directory in the config file.
This patch adds a placeholder, system.wd, containing it.

@francislavoie francislavoie added the feature ⚙️ New feature or request label Oct 7, 2022
@francislavoie francislavoie added this to the v2.6.2 milestone Oct 7, 2022
@francislavoie
Copy link
Member

@francislavoie francislavoie changed the title feat: working directory placeholder replacer: working directory global placeholder Oct 7, 2022
@francislavoie francislavoie merged commit b4e28af into caddyserver:master Oct 7, 2022
@dunglas dunglas deleted the feat/system.wd branch October 7, 2022 12:01
@mholt
Copy link
Member

mholt commented Oct 7, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ⚙️ New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants