1/ 转发:
upstream opossuperset_backend{
server 10.52.2.243:6666;
keepalive 1000;
}
server{
location / {
proxy_pass http://opossuperset_backend;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $http_x_real_ip;
}
}