Quellcode durchsuchen

新增sso域名配置

lianbingjie vor 1 Woche
Ursprung
Commit
1971774c4a
3 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
  1. 1 1
      README.md
  2. 1 0
      hosts_product.txt
  3. 1 1
      synchosts.sh

+ 1 - 1
README.md

@@ -6,4 +6,4 @@
 - synchosts.sh
 
 ## 生产环境使用方法,在阿里云控制台批量执行,每次会自动生成备份文件
-mkdir -p /opt/host && cd /opt/host && wget  http://172.17.32.18:11082/BaseService/jyhosts/raw/master/synchosts.sh -O synchosts.sh && chmod +x synchosts.sh && ./synchosts.sh
+mkdir -p /opt/host && cd /opt/host && wget  http://172.20.45.131:11082/BaseService/jyhosts/raw/master/synchosts.sh -O synchosts.sh && chmod +x synchosts.sh && ./synchosts.sh

+ 1 - 0
hosts_product.txt

@@ -8,3 +8,4 @@
 172.17.162.33 jyredis_sess.jy360.cn
 172.17.162.31 jyredis_newother.jy360.cn
 172.17.162.27 web95.jy360.cn
+172.17.162.31 jyredis_sso.jy360.cn

+ 1 - 1
synchosts.sh

@@ -9,7 +9,7 @@ cp /etc/hosts "$backup_file"
 
 
 # 下载远程文件
-curl -s -o hosts_product.txt http://172.17.32.18:11082/BaseService/jyhosts/raw/master/hosts_product.txt 
+curl -s -o hosts_product.txt http://172.20.45.131:11082/BaseService/jyhosts/raw/master/hosts_product.txt 
 
 # 检查文件是否成功下载
 if [ $? -ne 0 ]; then