Kaynağa Gözat

Update README.md

walkor 10 yıl önce
ebeveyn
işleme
291560dfe2
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      README.md

+ 3 - 2
README.md

@@ -75,9 +75,10 @@ require_once './Workerman/Autoloader.php';
 use \Workerman\WebServer;
 // WebServer
 $web = new WebServer("http://0.0.0.0:8686");
-$web->count = 2;
-// Set the root of domain
+$web->count = 4;
+// Set the root of domains
 $web->addRoot('www.your_domain.com', '/your/path/Web');
+$web->addRoot('www.another_domain.com', '/another/path/Web');
 // run all workers
 Worker::runAll();
 ```