# Private-only deterministic path used by the cross-node acceptance test.
server {
  listen 10.77.0.1:18089;
  server_name _;

  allow 10.77.0.0/24;
  deny all;
  client_max_body_size 200m;

  location / {
    proxy_http_version 1.1;
    proxy_set_header Host ai.51easyai.com;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto https;
    proxy_set_header Connection "";
    proxy_connect_timeout 2s;
    proxy_send_timeout 3600s;
    proxy_read_timeout 3600s;
    proxy_request_buffering off;
    proxy_buffering off;
    proxy_pass http://10.77.0.1:31088;
  }
}
