1
0
Fork 0
mirror of https://github.com/myvesta/vesta synced 2025-08-06 14:54:46 -07:00

fixed bug in nginx_ip configuration

This commit is contained in:
Serghey Rodin 2012-01-23 13:33:40 +02:00
parent 1698e42e9f
commit 31e2dec5e0

View file

@ -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