From 2b6361cbb68b8865518f51f87d99eecd39e4d622 Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Mon, 12 Jan 2026 15:30:51 +0800 Subject: [PATCH] fix: nginx permission denied on restricted kernels (#486) --- 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;