Have followed the tutorial but now when I enter site via url I get ERR_CONNECTION_REFUSED. The log in /var/log/nginx are empty.
Followed the tutorial found here https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04
What I also did was that I removed the default file from sites-available and from sites-enabled.
sudo ufw status gives me inactive.
Could it be a linux permission issue? Folder structure looks like this /var/www/mysite.com/html
drwxr-xr-x 3 root root 4096 May 2 20:05 www drwxr-xr-x 3 root root 4096 May 2 17:18 mysite.com drwxr-xr-x 11 blizzard blizzard 4096 Apr 5 2016 html
Used before nginx with older version of Ubuntu but this I dont know how to fix… Ideas?
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.