Question

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

Posted September 18, 2017 1.3k views
NginxUbuntu 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

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.

×
1 answer
Submit an Answer