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:
parent
e3c920fdf0
commit
069c204d1d
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue