Configure nginx
- As user
root
:
ls -l /etc/nginx/sites-enabled/
rm /etc/nginx/sites-enabled/default
ln -s /home/dev/python-flask-demo/config/demo-nginx.conf /etc/nginx/sites-enabled/demo-nginx.conf
Reload the nginx configuration
systemctl reload nginx
If there are problems look at
/var/log/nginx/python-flask-demo.error.log