paulbsd-salt/states/nginx/install.sls

21 lines
416 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- from "nginx/map.jinja" import nginx with context %}
nginx-pkg:
pkg.installed:
2021-11-07 23:37:17 +01:00
- pkgs: {{ nginx.packages }}
nginx-logs-user-acl:
acl.present:
- name: /var/log/nginx
- acl_type: user
- acl_name: www-data
- perms: rwx
- recurse: true
nginx-logs-group-acl:
acl.present:
- name: /var/log/nginx
- acl_type: group
- acl_name: www-data
- perms: rwx
- recurse: true