Browse Source

Fix absent /var/log/nginx

susefix
George Robinson 8 years ago
parent
commit
874719e49e
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      nginx/ng/config.sls

+ 5
- 0
nginx/ng/config.sls View File

@@ -4,6 +4,11 @@

{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}

{% if nginx.install_from_source %}
/var/log/nginx:
file.directory
{% endif %}

nginx_config:
file.managed:
{{ sls_block(nginx.server.opts) }}

Loading…
Cancel
Save