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

can this tool to resolve variables? #1

Open
jt3k opened this issue Dec 7, 2017 · 2 comments
Open

can this tool to resolve variables? #1

jt3k opened this issue Dec 7, 2017 · 2 comments

Comments

@jt3k
Copy link

jt3k commented Dec 7, 2017

for example

    set $root_path '/home/www/current/public';
    root $root_path;
    ...
    location ~* ^/(css|img|js|flv|swf|download)/(.+)$ {
        root $root_path;
    }
@jt3k jt3k changed the title can this tool was resolved variables? can this tool to resolve variables? Dec 7, 2017
@carlevans719
Copy link
Member

This isn't supported currently, but it could be a nice enhancement to make. We'd need to add a function which can first identify symbols and then substitute their values. Perhaps we could add a second parameter to .parse() which would make it all happen as one step

@permpkin
Copy link

old one, but thought I'd chime in, nginx-proxy-manager uses liquidjs to replace {{MY_VAR}} on it's conf files, easy drop in solution, might be viable 👍

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

No branches or pull requests

4 participants