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’m getting a 502 bad gateway on nginx, and the following on the logs: connect() to …myproject.sock failed (No such directory or file /home/nickname/myproject/myproject.sock) while connecting to upstream. Although I went to create the file “myproject.sock” in the myproject directory which gives me (13: Permission denied) error.
My working dir (myproject) is in /home/nickname dir. And I also created myprojectenv in the /home/nickname directory as well, making it 2 directory in the /home/nickname
Also the chmod-socket was 660 but I changed it to 666 thinking it was a privileges issue, but I still have an error 502.
/myproject/myproject.ini
[uwsgi]
module = wsgi:app
master = true
processes = 5
socket = myproject.sock
chmod-socket = 666
vacuum = true
die-on-term = true
/etc/systemd/system/myproject.service
[Unit]
Description=uWSGI instance to serve myproject
After=network.target
[Service]
User=nickname
Group=www-data
WorkingDirectory=/home/nickname/myproject
Environment="PATH=/home/nickname/myprojectenv/bin"
ExecStart=/home/nickname/myprojectenv/bin/uwsgi --ini myproject.ini
[Install]
WantedBy=multi-user.target
/etc/nginx/sites-available/myproject
server {
listen 80;
server_name 163.172.172.76;
location / {
include uwsgi_params;
uwsgi_pass unix:/home/nickname/myproject/myproject.sock;
}
}
ebeecroft
68aa2215160846bca0a00f952c5fdc
009fd274aeae48f2bfbda6ef568676
Cloudstream Apk
032f50ee7f7d489db3b05e204fe139
032f50ee7f7d489db3b05e204fe139
Edward Sitarski
ebeecroft
dashan
34bcef38725b4e6eb5224ae028f17e