Nginx PRECONTENT mirror模块

L62

location = /mirror {
                internal ; //只能内部访问
                proxy_pass http://sho***.com.cn:8011$request_uri;
                proxy_pass_request_body off;
                proxy_set_header Content-Length "";
                proxy_set_header X-Original-URI $request_uri;
        }

location / {
                mirror /mirror;
                mirror_request_body off;
}

 

posted on 2019-04-17 17:34  _Jee  阅读(377)  评论(0编辑  收藏  举报

导航