apache-formula/apache/config/vhosts
Andreas Thienemann 1f488b6af3 Do not pass full apache context to vhost templates.
The full apache context variable can grow quite large if using multiple
vhosts with SSL certificates.
With 200 sites the apache variable is being rendered 200 times which resuls
in observed renderer output of about 950MB...

state.apply will result with MemoryErrors in such cases.

This PR modifies the templating code to _only_ use a per site context
and pass a trimmed down copy of the apache context instead of the full.

Drive-By: Correct indentation for context variables.
Drive-By: Remove duplicate map/apache functionality. Only use map.
2020-12-08 21:13:07 +01:00
..
clean.sls refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
cleanup.sls refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
init.sls refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
minimal.tmpl refactor(formula): align to template-formula & improve ci features 2020-10-05 14:24:15 +01:00
proxy.tmpl Do not pass full apache context to vhost templates. 2020-12-08 21:13:07 +01:00
redirect.tmpl fix(vhosts): replace %O with %b in default LogFormat 2020-10-14 02:57:00 +02:00
standard.sls Do not pass full apache context to vhost templates. 2020-12-08 21:13:07 +01:00
standard.tmpl refactor(vhosts): reduce empty lines in standard.tmpl and proxy.tmpl 2020-10-15 00:29:27 +02:00