Spaces:
Sleeping
Sleeping
“vinit5112”
commited on
Commit
·
654a35d
1
Parent(s):
99de5ef
fix: use custom nginx.pid path to avoid permission error
Browse files
frontend/nginx.global.conf
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
# frontend/nginx.global.conf
|
2 |
|
3 |
-
# Remove user directive to avoid warning
|
4 |
-
# user nginx;
|
5 |
-
|
6 |
worker_processes 1;
|
|
|
7 |
|
8 |
events {
|
9 |
worker_connections 1024;
|
|
|
1 |
# frontend/nginx.global.conf
|
2 |
|
|
|
|
|
|
|
3 |
worker_processes 1;
|
4 |
+
pid /app/nginx.pid; # ✅ Add this line to avoid /run/nginx.pid error
|
5 |
|
6 |
events {
|
7 |
worker_connections 1024;
|