summaryrefslogtreecommitdiff
path: root/playbooks.d/webserver-nginx/etc
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-04-25 14:38:22 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-04-25 14:38:22 +0200
commite177232fb815a0ce4d4c9f9894f76c038f819302 (patch)
tree5f347b736dfc16edbb323fc1016eda21ef96403d /playbooks.d/webserver-nginx/etc
parentb8f5d5769068ee6e34fa1c82a740a6d16d9836ad (diff)
Set customizable nginx user/group
Diffstat (limited to 'playbooks.d/webserver-nginx/etc')
-rw-r--r--playbooks.d/webserver-nginx/etc/defaults3
-rw-r--r--playbooks.d/webserver-nginx/etc/os.d/linux-debian_gnu_linux2
2 files changed, 5 insertions, 0 deletions
diff --git a/playbooks.d/webserver-nginx/etc/defaults b/playbooks.d/webserver-nginx/etc/defaults
index c345a67..26eaa60 100644
--- a/playbooks.d/webserver-nginx/etc/defaults
+++ b/playbooks.d/webserver-nginx/etc/defaults
@@ -2,3 +2,6 @@ pkg.certbot=certbot
pkg.nginx=nginx
svc.nginx=nginx
+
+nginx.user=www
+nginx.group=www
diff --git a/playbooks.d/webserver-nginx/etc/os.d/linux-debian_gnu_linux b/playbooks.d/webserver-nginx/etc/os.d/linux-debian_gnu_linux
new file mode 100644
index 0000000..a87d2af
--- /dev/null
+++ b/playbooks.d/webserver-nginx/etc/os.d/linux-debian_gnu_linux
@@ -0,0 +1,2 @@
+nginx.user=www-data
+nginx.group=www-data