We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sorry if this isn't the place for this.
I'm trying to make a template for nginx.conf.
nginx.tmpl has this line: resolver {{ default .Env.RESOLVER "127.0.0.11" }};
resolver {{ default .Env.RESOLVER "127.0.0.11" }};
When the container starts, this error is thrown and the container stops:
template error: template: nginx.tmpl:34:20: executing "nginx.tmpl" at <.Env.RESOLVER>: RESOLVER is not a method but has arguments
This seems almost exactly like the example, but it isn't working. Any help figuring this out would be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered:
I'm not exactly sure why, but changing my ENTRYPOINT fixed this.
ENTRYPOINT ["dockerize", "-template", "nginx.tmpl:nginx.conf", "/usr/local/openresty/bin/openresty", "-g", "daemon off;"]
Sorry, something went wrong.
No branches or pull requests
Sorry if this isn't the place for this.
I'm trying to make a template for nginx.conf.
nginx.tmpl has this line:
resolver {{ default .Env.RESOLVER "127.0.0.11" }};
When the container starts, this error is thrown and the container stops:
template error: template: nginx.tmpl:34:20: executing "nginx.tmpl" at <.Env.RESOLVER>: RESOLVER is not a method but has arguments
This seems almost exactly like the example, but it isn't working. Any help figuring this out would be appreciated.
Thanks.
The text was updated successfully, but these errors were encountered: