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