Question
Nginx new server block still going to default page
Hello, I am new to the Ubuntu world and have been following the article,
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04
however I have run into a bit of a problem!
I have got to the end of step 5 and all I am getting is the default Nginx page, not what I have typed in the html block.
I have it it again on a fresh ubuntu install and got the same issue.
what have I done wrong!?
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.
×
I have also been trying to add lets encrypt, following…
https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04
but it looks like it is changing the default block…I think this might be related…
Any ideas? Any help is appreciated.