Fix absent /var/log/nginx
This commit is contained in:
parent
f24b066c43
commit
874719e49e
@ -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…
Reference in New Issue
Block a user