Authored by chunhua.zhang

union 内部域名

1 server{ 1 server{
2 listen 80; 2 listen 80;
3 - server_name union.yoho.cn webunion.yohobuy.com; 3 + server_name union.yoho.cn webunion.yohobuy.com union.yoho.yohoops.org;
4 access_log /Data/logs/nginx/access_union.log union; 4 access_log /Data/logs/nginx/access_union.log union;
5 error_log /Data/logs/nginx/union_error.log; 5 error_log /Data/logs/nginx/union_error.log;
6 6
@@ -124,6 +124,7 @@ write.msgCenter IN A 10.66.6.149 @@ -124,6 +124,7 @@ write.msgCenter IN A 10.66.6.149
124 ;java inner load balancer 124 ;java inner load balancer
125 uic IN {{ A if ( uic_lb | ipv4) else CNAME }} {{ uic_lb }} 125 uic IN {{ A if ( uic_lb | ipv4) else CNAME }} {{ uic_lb }}
126 api.yoho IN {{ A if ( java.inner_lb | ipv4) else CNAME }} {{ java.inner_lb }} 126 api.yoho IN {{ A if ( java.inner_lb | ipv4) else CNAME }} {{ java.inner_lb }}
  127 +union.yoho IN {{ A if ( java.inner_lb | ipv4) else CNAME }} {{ java.inner_lb }}
127 service.yoho IN {{ A if ( java.inner_lb | ipv4) else CNAME }} {{ java.inner_lb }} 128 service.yoho IN {{ A if ( java.inner_lb | ipv4) else CNAME }} {{ java.inner_lb }}
128 erp.yoho IN {{ A if ( java.inner_lb | ipv4) else CNAME }} {{ java.inner_lb }} 129 erp.yoho IN {{ A if ( java.inner_lb | ipv4) else CNAME }} {{ java.inner_lb }}
129 search IN {{ A if ( search_lb | ipv4) else CNAME }} {{ search_lb }} 130 search IN {{ A if ( search_lb | ipv4) else CNAME }} {{ search_lb }}