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

Template substitution is too loose #19

Open
arnaud opened this issue Jul 1, 2021 · 0 comments
Open

Template substitution is too loose #19

arnaud opened this issue Jul 1, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@arnaud
Copy link
Member

arnaud commented Jul 1, 2021

Description

The template substitution script replaces template blocks in a too loose way.

Steps to Reproduce

  1. Use multiple if-env blocks in etc/nginx/conf.d/a7.conf
  2. Make sure to put some custom nginx configuration between these blocks
  3. Start the service by setting the corresponding env var to false
  4. Which will disable these blocks
  5. And also whatever was in the between (from step 2)

Reproduces how often:

Always

Versions

1.6.0

Additional Information

In the meantime, make sure not to use multiple template blocks for the same env var in etc/nginx/conf.d/a7.conf.

@arnaud arnaud added the bug Something isn't working label Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant