# Hong Kong reads unexpired legacy files from the private Ningbo origin.
location ^~ /static/generated/ {
  proxy_http_version 1.1;
  proxy_set_header Host ai.51easyai.com;
  proxy_set_header Connection "";
  proxy_connect_timeout 2s;
  proxy_read_timeout 300s;
  proxy_buffering off;
  proxy_pass http://10.77.0.1:18080;
}

location ^~ /static/uploaded/ {
  proxy_http_version 1.1;
  proxy_set_header Host ai.51easyai.com;
  proxy_set_header Connection "";
  proxy_connect_timeout 2s;
  proxy_read_timeout 300s;
  proxy_buffering off;
  proxy_pass http://10.77.0.1:18080;
}
