File tree Expand file tree Collapse file tree 5 files changed +5
-16
lines changed Expand file tree Collapse file tree 5 files changed +5
-16
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77# add to the /etc/cont-init.d/nginx script
88#############################################################
99
10- # Only set when running with superuser permissions, otherwise causes a warning
11- # user www-data;
10+ # Running workers as non-root users
11+ user www-data;
1212
1313worker_processes auto;
1414
Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ trap -x
1515 }
1616}
1717
18- s6-setuidgid www-data nginx -g "daemon off;"
18+ nginx -g "daemon off;"
Original file line number Diff line number Diff line change 44 - ' 8080:8080'
55 environment :
66 SERVER_LOG_MINIMAL : 1
7- SERVER_APP_NAME : docker-test
7+ SERVER_APP_NAME : docker-ubuntu
88 S6_KILL_FINISH_MAXTIME : 1
99 S6_KILL_GRACETIME : 1
1010 SERVER_WORKER_PROCESSES : 1
@@ -21,7 +21,7 @@ alpine:
2121 - ' 8081:8080'
2222 environment :
2323 SERVER_LOG_MINIMAL : 1
24- SERVER_APP_NAME : docker-test
24+ SERVER_APP_NAME : docker-alpine
2525 S6_KILL_FINISH_MAXTIME : 1
2626 S6_KILL_GRACETIME : 1
2727 SERVER_WORKER_PROCESSES : 1
You can’t perform that action at this time.
0 commit comments