Nginx的proxy_pass指定DNS

2021-03-07 11:26:08

    location / {
        resolver 223.6.6.6;
        set $backend "www.twitch.tv/videos/939025713/";
        #proxy_pass https://zhangxiaoqiang.top/;
        proxy_pass https://$backend;
        proxy_connect_timeout 1;
    }


nginx的403和502:https://www.cnblogs.com/caijt/p/10982470.html


作者 zxq, 发表于 2021-03-07 11:26:08, 最后修改于2021-03-07 11:49:58