k8s內nginx設置dns沒法訪問外網

當upstream使用域名的時候, 須要指定:web resolver 8.8.8.8; server { listen 8090;svg 設置8.8.8.8時不能訪問內網地址。只能訪問外網,不設置不能放外網。server 解決:設置k8s內部的dns:192.168.200.1xml
相關文章
相關標籤/搜索