Haruka041 commited on
Commit ·
8140dee
1
Parent(s): b8748de
fix: remove user 1000, Alpine nginx uses default and HF has CAP_SETUID
Browse files- nginx.conf +0 -2
nginx.conf
CHANGED
|
@@ -1,8 +1,6 @@
|
|
| 1 |
worker_processes 1;
|
| 2 |
pid /tmp/nginx/nginx.pid;
|
| 3 |
error_log /dev/stderr warn;
|
| 4 |
-
# 非 root 用户运行的必须
|
| 5 |
-
user 1000;
|
| 6 |
|
| 7 |
events { worker_connections 128; }
|
| 8 |
|
|
|
|
| 1 |
worker_processes 1;
|
| 2 |
pid /tmp/nginx/nginx.pid;
|
| 3 |
error_log /dev/stderr warn;
|
|
|
|
|
|
|
| 4 |
|
| 5 |
events { worker_connections 128; }
|
| 6 |
|