File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -813,10 +813,12 @@ namehost_ip_support() {
813813 if [ " $WEB_SSL " = ' mod_ssl' ]; then
814814 web_ssl_port=$( get_config_value ' $WEB_SSL_PORT' )
815815 sed -i " $conf_ins i NameVirtualHost $ip :$web_ssl_port " $conf
816+ sed -i " $conf_ins i Listen $ip :$web_ssl_port " $conf
816817 fi
817818
818819 web_port=$( get_config_value ' $WEB_PORT' )
819820 sed -i " $conf_ins i NameVirtualHost $ip :$web_port " $conf
821+ sed -i " $conf_ins i Listen $ip :$web_port " $conf
820822
821823 # Checking proxy support
822824 if [ " $PROXY_SYSTEM " = ' nginx' ]; then
@@ -838,6 +840,7 @@ namehost_ip_disable() {
838840 # Checking web system
839841 if [ " $WEB_SYSTEM " = ' apache' ]; then
840842 sed -i " /NameVirtualHost $ip :/d" $conf
843+ sed -i " /Listen $ip :/d" $conf
841844
842845 # Checking proxy support
843846 if [ " $PROXY_SYSTEM " = ' nginx' ]; then
You can’t perform that action at this time.
0 commit comments