Update init_without_docker.sh
This commit is contained in:
parent
770ef7e516
commit
11cf710516
1 changed files with 0 additions and 1 deletions
|
@ -9,4 +9,3 @@ internal_ip=$(ip addr show dev eth0|grep inet |grep eth0|cut -d/ -f1|cut -d" " -
|
||||||
old_ip=$(cat /etc/nginx/conf.d/parking.conf |grep default_server|grep ssl |cut -d: -f1|cut -d" " -f6)
|
old_ip=$(cat /etc/nginx/conf.d/parking.conf |grep default_server|grep ssl |cut -d: -f1|cut -d" " -f6)
|
||||||
sed -i "s/$old_ip/$internal_ip/g" /etc/nginx/conf.d/parking.conf
|
sed -i "s/$old_ip/$internal_ip/g" /etc/nginx/conf.d/parking.conf
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue