Browse Source

continue develop 23.01.25:21.12

root 2 months ago
parent
commit
c0b6535a12
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dev/avto4certbot.sh

+ 1 - 0
dev/avto4certbot.sh

@@ -251,6 +251,7 @@ for ((xd=0; xd != ${#domains[@]}; xd++)); do
251 251
   site_port="${site_data[2]}";
252 252
   ## apache2 config
253 253
   if [[ "$opt" != "" ]] && [[ $opt != "nginx" ]] && [[ "$opt" == "apache" ]]; then
254
+    ## добавить проверку режима apache2 и путь для активации конфигурации
254 255
     echo >$conf_dir/$site_name.conf;
255 256
     echo -e '<VirtualHost *:'"$site_port"'>' >>$conf_dir/$site_name.conf;
256 257
     echo -e '  ServerName '"$site_name"'' >>$conf_dir/$site_name.conf;