From: Ansuel Smith Date: Wed, 18 Jul 2018 02:01:54 +0000 (+0200) Subject: nginx: change default user for luci conf X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=a12f6d57db4ce94c26d2e0541a6d43e5dd4ba122;p=openwrt-packages.git 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 --- 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;