“vinit5112” commited on
Commit
91b3a3a
·
1 Parent(s): 654a35d

fix: remove nginx.pid and use daemon off for container safety

Browse files
Files changed (1) hide show
  1. frontend/nginx.global.conf +1 -1
frontend/nginx.global.conf CHANGED
@@ -1,7 +1,7 @@
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;
 
1
  # frontend/nginx.global.conf
2
 
3
  worker_processes 1;
4
+ daemon off;
5
 
6
  events {
7
  worker_connections 1024;