server { listen 7860; location /v1/ { proxy_pass http://localhost:3001; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Connection ''; proxy_buffering off; proxy_read_timeout 300s; chunked_transfer_encoding on; } location / { root /usr/share/nginx/html; try_files $uri $uri/ /index.html; } }