Просмотр исходного кода

fixed bug in nginx_ip configuration

Serghey Rodin 14 лет назад
Родитель
Сommit
31e2dec5e0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      func/domain.func

+ 1 - 1
func/domain.func

@@ -621,7 +621,7 @@ namehost_ip_support() {
         # Checking proxy support
         # Checking proxy support
         if [ "$PROXY_SYSTEM" = 'nginx' ]; then
         if [ "$PROXY_SYSTEM" = 'nginx' ]; then
             cat $V_WEBTPL/ngingx_ip.tpl | sed -e "s/%ip%/$ip/g" \
             cat $V_WEBTPL/ngingx_ip.tpl | sed -e "s/%ip%/$ip/g" \
-             -e "s/%web_port%/$WEB_SSL_PORT/g" \
+             -e "s/%web_port%/$WEB_PORT/g" \
             -e "s/%proxy_port%/$PROXY_PORT/g" >>$nconf
             -e "s/%proxy_port%/$PROXY_PORT/g" >>$nconf
 
 
             # Adding to rpaf ip pool as well
             # Adding to rpaf ip pool as well