Explorar o código

restart webserver if docroot has changed

Serghey Rodin %!s(int64=9) %!d(string=hai) anos
pai
achega
82b51724a7
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      web/edit/web/index.php

+ 2 - 0
web/edit/web/index.php

@@ -432,6 +432,8 @@ if (!empty($_POST['save'])) {
             exec (VESTA_CMD."v-change-web-domain-sslhome ".$user." ".$v_domain." ".$v_ssl_home." 'no'", $output, $return_var);
             check_return_code($return_var,$output);
             $v_ssl_home = $_POST['v_ssl_home'];
+            $restart_web = 'yes';
+            $restart_proxy = 'yes';
             unset($output);
         }
     }