Procházet zdrojové kódy

portable template processing

Serghey Rodin před 12 roky
rodič
revize
f723d15817
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      func/domain.sh

+ 2 - 0
func/domain.sh

@@ -221,8 +221,10 @@ sort_dns_records() {
 add_web_config() {
 add_web_config() {
     cat $tpl_file | \
     cat $tpl_file | \
         sed -e "s/%ip%/$ip/g" \
         sed -e "s/%ip%/$ip/g" \
+            -e "s/%web_system%/$WEB_SYSTEM/g" \
             -e "s/%web_port%/$WEB_PORT/g" \
             -e "s/%web_port%/$WEB_PORT/g" \
             -e "s/%web_ssl_port%/$WEB_SSL_PORT/g" \
             -e "s/%web_ssl_port%/$WEB_SSL_PORT/g" \
+            -e "s/%proxy_system%/$PROXY_SYSTEM/g" \
             -e "s/%proxy_port%/$PROXY_PORT/g" \
             -e "s/%proxy_port%/$PROXY_PORT/g" \
             -e "s/%proxy_ssl_port%/$PROXY_SSL_PORT/g" \
             -e "s/%proxy_ssl_port%/$PROXY_SSL_PORT/g" \
             -e "s/%proxy_extentions%/${PROXY_EXT//,/|}/g" \
             -e "s/%proxy_extentions%/${PROXY_EXT//,/|}/g" \