Question

https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-16-04

In this tutorial /etc/systemd/system/myproject.service file you have mentioned myproject path as “/home/sammy” but in the above steps myproject is in /root

Similar in nginx also /etc/nginx/sites-available/myproject

I changed /home/sammy to /root but I’m getting the below error

This site can’t be reached

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Check your logs then