Skip to content

Add read function to read the content of a file #309

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

Closed

Conversation

NicolasDorier
Copy link
Contributor

This has been very useful in my fork for the following usecase:

I wanted to use docker-gen with TOR. When you create a hidden service, TOR create a file at a specific location with the TOR onion host that represent your service. I needed to use this onion host as input for generating my nginx configuration file. So my nginx.tmpl needed to read a file.

@aywan
Copy link
Contributor

aywan commented Jan 22, 2022

Two years later i did almost same thing #399
The feature not popular, but required in some cases

@josegonzalez
Copy link
Contributor

This was implemented here through the include function, so I think this one can be closed.

@buchdag
Copy link
Member

buchdag commented Feb 25, 2024

Thanks for for the reminder @josegonzalez 👍

@buchdag buchdag closed this Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants