fix(nginx): use cross-platform local paths for pid and logs (#977)

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
This commit is contained in:
Xinmin Zeng
2026-03-05 17:50:02 +08:00
committed by GitHub
parent 1b3939cb78
commit 0c7c96d75e

View File

@@ -1,7 +1,7 @@
events { events {
worker_connections 1024; worker_connections 1024;
} }
pid /tmp/nginx.pid; pid logs/nginx.pid;
http { http {
# Basic settings # Basic settings
sendfile on; sendfile on;
@@ -11,8 +11,8 @@ http {
types_hash_max_size 2048; types_hash_max_size 2048;
# Logging # Logging
access_log /dev/stdout; access_log logs/nginx-access.log;
error_log /dev/stderr; error_log logs/nginx-error.log;
# Upstream servers (using localhost for local development) # Upstream servers (using localhost for local development)
upstream gateway { upstream gateway {