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开始)