Laopo 유닛은 조직 코드를 자주 쿼리해야 하지만 해당 유닛의 IP는 다른 사용자에 의해 차단되었습니다. Laopo 쿼리를 용이하게 하기 위해 Alibaba 서버에 다음 구성을 따라야 성공합니다.
서버
{
listen 80;
#listen [::]:80;
server_name laopo.xxxxx.net ;
index index.html index.htm index.php default.html default.htm default.php;
root /home/wwwroot/laopo.xxxxx.net ;
위치 / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header 🎜>proxy_set_header 추천인 http://www.nacao. org.cn;
Proxy_set_header 호스트 www.nacao.org.cn;
proxy_pass http://125.35.63.8/ #be 프록시 웹사이트의 IP 주소
Proxy_set_header Accept-Encoding "";
}
?
access_log /home/wwwlogs/laopo.xxxxx .net.log access; }
위 내용은 관련 내용을 포함하여 특정 웹사이트에 nginx 역방향 프록시를 소개하는 내용이 PHP 튜토리얼에 관심이 있는 친구들에게 도움이 되기를 바랍니다.