nginx proxy_pass如何使用免费的http代理

时间:2019-03-20 12:00:58

标签: nginx proxy

server {
    listen       8888;
    server_name  localhost;
    location / {
        proxy_pass   http://mywebsite:9999/;
        # some settings like :http_proxy http://somefreeproxy 
    }
}

我希望客户端访问我的nginx服务器:http://nginxserver:8888,and它不直接重定向到http://mywebsite:9999/,而是使用http代理(例如从https://hide.me/en/proxy开始)

0 个答案:

没有答案