瀏覽代碼

Update README.md

walkor 10 年之前
父節點
當前提交
291560dfe2
共有 1 個文件被更改,包括 3 次插入2 次删除
  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();
 ```