Mercurial > hg > nginx-site
diff xml/en/docs/faq/variables_in_config.xml @ 198:ec4626d04879
- Bulk commit following discussion in devrep
author | Andrey Alexeev <andrew@nginx.com> |
---|---|
date | Wed, 23 Nov 2011 16:31:50 +0000 |
parents | aafe530e7d6f |
children | be54c443235a |
line wrap: on
line diff
--- a/xml/en/docs/faq/variables_in_config.xml Wed Nov 23 15:48:27 2011 +0000 +++ b/xml/en/docs/faq/variables_in_config.xml Wed Nov 23 16:31:50 2011 +0000 @@ -1,4 +1,4 @@ -<!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> +<!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> <article name="Is there a proper way to use nginx variables to make sections of the configuration shorter, @@ -26,10 +26,10 @@ evaluated in the run-time during the processing of each request, so they are rather costly compared to plain static configuration. Using variables to store static strings is also -a bad idea. Instead, a macro expansion should be used to -generate configs more easily and it can be done with the -external tools, e.g. sed + make or any other common template -mechanism. +a bad idea. Instead, a macro expansion and "include" directives +should be used to generate configs more easily and it can be +done with the external tools, e.g. sed + make or any other +common template mechanism. </para> </section>