Authored by chunhua.zhang

add config

@@ -5,3 +5,5 @@ dc : "yoho-qcloud" @@ -5,3 +5,5 @@ dc : "yoho-qcloud"
5 5
6 path: "/Data/local/openresty-1.9.15.1" 6 path: "/Data/local/openresty-1.9.15.1"
7 7
  8 +# nameserver config for nginx
  9 +nameservers: ''
@@ -29,7 +29,7 @@ http @@ -29,7 +29,7 @@ http
29 '$status|$body_bytes_sent|$request_time|$upstream_response_time|$upstream_cache_status|$http_referer|' 29 '$status|$body_bytes_sent|$request_time|$upstream_response_time|$upstream_cache_status|$http_referer|'
30 '$http_user_agent|$upstream_addr'; 30 '$http_user_agent|$upstream_addr';
31 31
32 - #resolver 119.29.29.29 114.114.114.114 valid=3600s; 32 + # resolver: local dns servers
33 resolver {% for i in nameservers %} {{ i }} {% endfor %}; 33 resolver {% for i in nameservers %} {{ i }} {% endfor %};
34 34
35 35