Jelajahi Sumber

fixed bug in nginx_ip configuration

Serghey Rodin 14 tahun lalu
induk
melakukan
31e2dec5e0
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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