Explorar el Código

Set /var/log/nginx writable by NGINX worker processes

tags/v0.55.0
George Robinson hace 8 años
padre
commit
7f5d36603d
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      nginx/ng/config.sls

+ 3
- 1
nginx/ng/config.sls Ver fichero

@@ -5,9 +5,11 @@
{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}

{% if nginx.install_from_source %}
nginx_log_directory:
nginx_log_dir:
file.directory:
- name: /var/log/nginx
- user: {{ nginx.server.config.user }}
- group: {{ nginx.server.config.user }}
{% endif %}

nginx_config:

Cargando…
Cancelar
Guardar