Hello, I have a Ubuntu 14.04 server with LEMP Stack and vargrant installed. My website runs on wordpress. My website was running fine. When I did ssh login to my server, the server displayed that there are some Security Updates available. So I Upgraded the server:
sudo apt-get update; sudo apt-get upgrade;
During the Upgrade it asked whether to install a new configuration for nginx or keep the remaining one. I typed ‘N’. The upgrade went fine.
But when I access my website, it is displaying the blank page.
I ran the following command too:
sudo nginx -t
I get the following message:
nginx: [warn] server name “http://domain.com” has suspicious symbols in /etc/nginx/sites-enabled/domain:29 nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful
Please help me out.
This textbox defaults to using Markdown to format your 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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!