Browse Source

Update nginx-proxy-manager

Fix Nginx not restarting correctly.
CoffeeCHN 1 năm trước cách đây
mục cha
commit
0042726477
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      docker/rootfs/etc/logrotate.d/nginx-proxy-manager

+ 3 - 3
docker/rootfs/etc/logrotate.d/nginx-proxy-manager

@@ -8,7 +8,7 @@
     compress
     sharedscripts
     postrotate
-    /bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
+    kill -USR1 `cat /run/nginx/nginx.pid 2>/dev/null` 2>/dev/null || true
     endscript
 }
 
@@ -22,6 +22,6 @@
     compress
     sharedscripts
     postrotate
-    /bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
+    kill -USR1 `cat /run/nginx/nginx.pid 2>/dev/null` 2>/dev/null || true
     endscript
-}
+}