【待反馈】为什么有一个站明明可以访问,反向代理会 502
这个站是:https://hackertab.pupubird.com服务是:https://hackertab.pupubird.com/repositories?since=daily
可以重现,别的站点和 api 就没问题,直接访问也没问题,请问需要怎么设置?
#PROXY-START/
location ~* \.(php|jsp|cgi|asp|aspx)$
{
proxy_pass https://hackertab.pupubird.com;
proxy_set_header Host hackertab.pupubird.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header REMOTE-HOST $remote_addr;
}
location /
{
proxy_pass https://hackertab.pupubird.com;
proxy_set_header Host hackertab.pupubird.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header REMOTE-HOST $remote_addr;
add_header X-Cache $upstream_cache_status;
#Set Nginx Cache
add_header Cache-Control no-cache;
expires 12h;
}
#PROXY-END/
看下网站错误日志
页:
[1]