1 parent b1feee3 commit a2d297bCopy full SHA for a2d297b
2 files changed
app/Http/Middleware/TrustProxies.php
@@ -12,7 +12,7 @@ class TrustProxies extends Middleware
12
*
13
* @var array<int, string>|string|null
14
*/
15
- protected $proxies = '*';
+ protected $proxies;
16
17
/**
18
* The headers that should be used to detect proxies.
wait-for-mysql.sh
@@ -38,4 +38,8 @@ php artisan migrate --force
38
39
# Khởi động PHP-FPM
40
echo "Khởi động dịch vụ PHP-FPM..."
41
-php-fpm
+php-fpm
42
+
43
+# chạy queue worker
44
+echo "Chạy queue worker..."
45
+php artisan queue:work --daemon --sleep=3 --tries=3
0 commit comments