i got these error 502 bad gateway
the nginex services is run but after check i got this error
this is my code in nginx/site-avalable
upstream keepalive-upstream {
server 127.0.0.1:8000;
keepalive 64;
}
server {
listen 80;
listen [::]:80;
server_name qhse-erp.com www.qhse-erp.com;
location / {
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_pass http://keepalive-upstream;
proxy_redirect off;
}
}
i has starting goincorn manual as that until solve this problem then i will create service to start it:
DATABASE_HOST must be "localhost" not the domain "www..com"
DATABASE_HOST=localhost
[![enter image description here][1]][1]
as this [1]: https://i.sstatic.net/mBPjV.png