|
|
@@ -95,12 +95,6 @@ class Start
|
|
|
$proginn = str_replace('{{ip}}', $ipv4, $proginn);
|
|
|
file_put_contents("{$directory}/config/nginx.conf", $proginn);
|
|
|
|
|
|
- // nginx 配置
|
|
|
- $proxy = file_get_contents(ROOT_DIR . '/config/nginx/template/proxy.nginx.conf');
|
|
|
- $proxy = str_replace('{{domain}}', $domain, $proxy);
|
|
|
- $proxy = str_replace('{{ip}}', $ipv4, $proxy);
|
|
|
- file_put_contents("/workspace/commonContainers/nginx/conf.d/{$name}.conf", $proxy);
|
|
|
-
|
|
|
// 重载Nginx
|
|
|
system("docker exec nginx nginx -s reload");
|
|
|
$this->getConnection()->query('commit');
|