嘟嘟社区

[疑问] 求教大佬关于nginx反代百度验证码的问题


本帖最后由 Emso 于 2022-8-19 23:54 编辑

想反代 https://wappass.baidu.com/static/captcha/tuxing.html?ak=2ef521ec36290baed33d66de9b16f625&backurl=http%3A%2F%2Ftieba.baidu.com%2Fp%2F7977318971&timestamp=1660918736&signature=2f70f0aaed971f587e813c19626e1da6

尝试nginx配置这样写不出内容,不知道哪里出错了:
location /
{
    proxy_pass https://wappass.baidu.com;
    proxy_set_header Host wappass.baidu.com;
}

应该怎么写呢