|
<?php
|
|
namespace app\event;
|
|
class WebUpstreamSocketClose
|
|
{
|
|
public function handle(): void
|
|
{
|
|
|
|
$url = config('domain.url') . '/dynamic?upstream=zone_for_backends';
|
|
// if (strpos($upstream_addres, $url) == false) {
|
|
// $this->addUpstream($upstream_addres);//添加负载
|
|
// }
|
|
}
|
|
} |