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 set up my website www.gojainyatra.com on digital ocean. I’m using nginx. everything is working fine, but some urls (like https://gojainyatra.com/dharamshala/firstshala/vlogs/2019/6/20/5/9/46/test/) are not being served and give error - “Not Found The requested resource was not found on this server.”
My configuration file is
upstream app_server {
server unix:/home/gojainyatra/run/gunicorn.sock fail_timeout=0;
}
server {
listen 80;
server_name gojainyatra.com www.gojainyatra.com;
keepalive_timeout 5;
client_max_body_size 4G;
access_log /home/gojainyatra/logs/nginx-access.log;
error_log /home/gojainyatra/logs/nginx-error.log;
location /static/ {
alias /home/gojainyatra/staticfiles/;
}
# checks for static file, if not found proxy to app
location / {
try_files $uri @proxy_to_app;
}
location @proxy_to_app {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://app_server;
}
}
please help, I’m new to development and don’t have much idea what is going wrong.
WildcatMedia
jeffs
0621335d663b4b699a60eb27e28153
accesstrax
Dwight Trumbower
admin
yimprogramming
samunyi90
1d6ce141ab5444dfb1ea2dd29cf4b1
Matt Fricker
joel9b158e40551b15093f213f