Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Just started having issues where my website is unable to pull data from my API hosted on digital ocean. We use cloudflare to proxy the server but keep getting these errors:
Ngix server error logs:
2024/07/04 23:59:57 [error] 15618#15618: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 172.11.111.111, server: api.website.com, request: "GET /findata/latestPrices HTTP/1.1", upstream: "http://127.0.0.1:3355/latestPrices", host: "api.website.com", referrer: "https://plex.website.com/"
2024/07/04 23:59:39 [error] 15617#15617: *377 no live upstreams while connecting to upstream, client: 172.22.222.22, server: api.website.com, request: "GET /findata/liveCandles?symbol=TSLAUSD&interval=1h HTTP/1.1", upstream: "http://localhost/liveCandles?symbol=TSLAUSD&interval=1h", host: "api.website.com", referrer: "https://info.website.com/"
IP and Website changed for privacy
Here is the current Nginx Setup:
server {
server_name api.website.com;
listen 80;
listen [::]:80;
location ^~ /values {
rewrite ^/values/(.*)$ /$1 break;
proxy_pass http://localhost:5001/;
}
location ^~ /lights {
rewrite ^/lights/(.*)$ /$1 break;
proxy_pass http://localhost:8008/;
}
location ^~ /plex {
rewrite ^/plex/(.*)$ /$1 break;
proxy_pass http://localhost:3007/;
}
location ^~ /number {
rewrite ^/number/(.*)$ /$1 break;
proxy_pass http://localhost:3009/;
}
location ^~ /findata {
rewrite ^/findata/(.*)$ /$1 break;
proxy_pass http://localhost:3355/;
}
location /ws/ {
proxy_pass http://localhost:3355/ws;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 86400;
}
}
Any insight or ideas?
7a15ff68da56492590fe202a45476b
webadminJellyfish
Michael Campbell
52f42ab1fed54774a499079755cbc3
Mark Reeves
d79445eef4054c269ef68e2eb17af3
Carter Todd
96312c6bf6494f0f8afc7143971187
kevdog
96312c6bf6494f0f8afc7143971187
TinyDarkBlueMantaRay
Dave Rajyaguru