From cb0378f3de8d97ae4809626793bca141ce832cdc Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Fri, 9 Jan 2026 00:39:48 +0800 Subject: [PATCH] fix: nginx permission denied on restricted kernels --- docker/nginx-https.conf | 2 ++ docker/nginx.conf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docker/nginx-https.conf b/docker/nginx-https.conf index 7788848b..dce94dd2 100644 --- a/docker/nginx-https.conf +++ b/docker/nginx-https.conf @@ -1,3 +1,5 @@ +worker_processes 1; +master_process off; pid /app/nginx/nginx.pid; error_log /app/nginx/logs/error.log warn; diff --git a/docker/nginx.conf b/docker/nginx.conf index ac6b7112..fd95a81f 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -1,3 +1,5 @@ +worker_processes 1; +master_process off; pid /app/nginx/nginx.pid; error_log /app/nginx/logs/error.log warn; -- 2.49.1