File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
weevent-build/modules/nginx Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 99# replace default include line to "include ./conf.d/tcp_tls.conf"
1010########################################################################################################################
1111
12- # user nobody;
12+ user nobody;
1313worker_processes 10 ;
1414
1515#error_log logs/error.log;
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ function nginx_setup() {
3232
3333 sed -i " s/443/$nginx_port /g" ${nginx_path} /conf/conf.d/https.conf
3434 sed -i " s/8080/$nginx_port /g" ${nginx_path} /conf/conf.d/http_quickinstall.conf
35+ sed -i " s/nobody/${USER} /g" ${nginx_path} /conf/nginx.conf
3536
3637 if [[ " $ssl " = " true" ]]; then
3738 sed -i " s/http.conf/https.conf/g" ${nginx_path} /conf/nginx.conf
You can’t perform that action at this time.
0 commit comments