Browse Source

Merge pull request #20 from spsoit/master

Context parameter safety fixes
susefix
Seth House 10 years ago
parent
commit
418a8b942b
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      nginx/ng/config.sls
  2. +1
    -1
      nginx/ng/vhosts_config.sls

+ 1
- 1
nginx/ng/config.sls View File

@@ -11,4 +11,4 @@ nginx_config:
- source: salt://nginx/ng/files/nginx.conf
- template: jinja
- context:
config: {{ nginx.server.config }}
config: {{ nginx.server.config|json() }}

+ 1
- 1
nginx/ng/vhosts_config.sls View File

@@ -93,7 +93,7 @@ nginx_vhost_available_dir:
- source: salt://nginx/ng/files/vhost.conf
- template: jinja
- context:
config: {{ settings.config }}
config: {{ settings.config|json() }}
{% do vhost_states.append(conf_state_id) %}
{% endif %}


Loading…
Cancel
Save