free9901 发表于 2017-9-10 21:41
DZ比百度简单,F12分析发包即可模拟发帖和回帖。
那要在nginx里怎么写?
大佬们都起床了吧
反代 loc ?作死!
pddeln 发表于 2017-9-11 09:43
反代 loc ?作死!
我反代我自已的论坛好不好。。。
:hug::hug::hug:
本帖最后由 蓝浩 于 2017-9-11 15:03 编辑
反代的nginx里面改
location / {
default_type text/html;
subs_filter_types text/css text/xml; #subs_filtert end
proxy_set_header X-Real-IP$remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Referer $http_referer; #header_referer end
proxy_set_header Host $host; #header_host end
proxy_pass http://www.a.com; #proxy_pass end
proxy_set_header Accept-Encoding "";
}
有问题多搜索,勤学好问,不要只好问不勤学
蓝浩 发表于 2017-9-11 14:57
反代的nginx里面改
proxy_set_header Host $host; #header_host end
proxy_pass http://www.a.com; #proxy_pass end
这二条要改下域名,其他几条都不用改是吧?
打捞们
蓝浩 发表于 2017-9-11 14:57
反代的nginx里面改
大佬,在吗,不行啊。。。
