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.

I have hosted my ROR application on digital ocean using ubuntu droplet, my application is using nginx, passenger. Application web pages are working as expected but there are few api’s that are created in the same application which are giving 403 forbidden when pining the api from react mobile app.
“Completed 403 Forbidden in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 309)”
I am guessing this is something to do with my nginx configuration can somebody please help.
server {
listen 443 ssl;
server_name net2fit.com;
ssl_certificate /etc/letsencrypt/live/net2fit.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/net2fit.com/privkey.pem;
root /home/deploy/net2fit/public;
passenger_enabled on;
passenger_ruby /home/deploy/.rbenv/versions/2.6.6/bin/ruby;
passenger_app_env production;
access_log /var/log/nginx/app.access.log;
error_log /var/log/nginx/app.error.log;
location /cable {
passenger_app_group_name net2fit_websocket;
passenger_force_max_concurrent_requests_per_process 0;
}
location /api/v1/ {
passenger_enabled on;
rails_env production;
root /home/deploy/net2fit/public;
error_page 500 502 503 504 /50x.html;
}
#Allow uploads up to 100MB in size
client_max_body_size 100m;
location ~ ^/(assets|packs) {
expires max;
gzip_static on;
}
# this rewrites all the requests to the maintenance.html
# page if it exists in the doc root. This is for capistrano's
# disable web task
if (-f $document_root/system/maintenance.html)
{
rewrite ^(.*)$ /system/maintenance.html last;
break;
}
}
009fd274aeae48f2bfbda6ef568676
Cloudstream Apk
Ruz
Ruz
Edward Sitarski
ebeecroft
dashan
34bcef38725b4e6eb5224ae028f17e
markatango
gouskova