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.

Thanks for looking.
I have a droplet running pm2 and nginx.
I have my react project running on the main domain all okay.
I am trying to host a few node projects on different ports and trying to access them by using for example, www.domain.com/project1 and www.domain.com/project two.
Below, I tried to route /domain to the main page as a test, but it is not working and says it cannot find it. I have hidden my domain name and its IP.
Could anyone shed some light on how I can achieve my outcome, or point me in the direction of someone who has written about it.
Many thanks
Russell
–
server {
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/DOMAIN/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/DOMAIN/privkey.pem; # managed by Certbot
server_name www.DOMAIN.com;
return 301 https://DOMAIN.com$request_uri;
}
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name DOMAIN IP;
location /{
# reverse proxy for next server
proxy_pass http://localhost:3000; # your nextJs service and port
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /dashboard {
# reverse proxy for next server
proxy_pass http://localhost:3000; # your nextJs service and port
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /tweetyapi {
# reverse proxy for next server
proxy_pass http://localhost:3333;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
009fd274aeae48f2bfbda6ef568676
Cloudstream Apk
Ruz
Ruz
Edward Sitarski
ebeecroft
dashan
34bcef38725b4e6eb5224ae028f17e
markatango
gouskova