Hi, i have made my website in flask and now i try to set this on a server on digitalocean.
I go through tutorial about it https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uswgi-and-nginx-on-ubuntu-18-04
and I think (I’m pretty sure) i redirect my domain correctly to DO servers but still it doesn’t work. As i go through an IP on webbrowser i got deafault nginx site but when i go through my domain it deosn’t go. I have found such error:
2019/12/03 11:21:35 [crit] 6414#6414: *10 connect() to unix:/home/bartek/config/website.sock failed (2: No such file or directory) while connecting to upstream, client: 22.214.171.124, server: bartoszkobylinski.com, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:/home/bartek/config/website.sock:", host: "bartoszkobylinski.com"
but actually for me it doesn’t say much. Any help would be great!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.