Преглед изворни кода

fixed bug in nginx_ip configuration

Serghey Rodin пре 14 година
родитељ
комит
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
         if [ "$PROXY_SYSTEM" = 'nginx' ]; then
             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
 
             # Adding to rpaf ip pool as well