aboutsummaryrefslogtreecommitdiff
path: root/net/nginx
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2018-07-18 04:01:54 +0200
committerAnsuel Smith <ansuelsmth@gmail.com>2018-07-18 04:01:54 +0200
commita12f6d57db4ce94c26d2e0541a6d43e5dd4ba122 (patch)
treeb7520b0431ae57515de2fd22efd9dea038d26e47 /net/nginx
parent9b327f8199f0eb46210892d7027fede35e0d8373 (diff)
nginx: change default user for luci conf
Currently the nginx user for the default luci config is root... This is dangerous and unnecessary, reset it back to nobody nogroup. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'net/nginx')
-rw-r--r--net/nginx/files-luci-support/luci_nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/nginx/files-luci-support/luci_nginx.conf b/net/nginx/files-luci-support/luci_nginx.conf
index 78f916b04..53d4ab6c7 100644
--- a/net/nginx/files-luci-support/luci_nginx.conf
+++ b/net/nginx/files-luci-support/luci_nginx.conf
@@ -1,5 +1,5 @@
-user root;
+user nobody nogroup;
worker_processes 1;
#error_log logs/error.log;