So this is weird. I have been playing around with Docker on a Centos7 droplet, I also installed Nginx locally to use as reverse proxy. I later decided to remove it which I did with yum remove. However there still seemed to be folders in places like /usr/share which I had to remove.
Even after removing all folders I was aware of I was still getting the welcome to nginx on the homepage. I checked it wasn’t running or even installed with systemctl and there are no process running as it or files open. I did searches and deleted just about every folder and file I could find related to nginx, still there. I should add that the docker containers I was running were not nginx but I stopped them all and stopped docker globally just in case. Nginx still there on the homepage. (Nothing in /var/www btw and www doesn’t even exist)
So, I did a rebuild of the droplet which should delete all data, started installing everting like Docker again and then I see the Nginx homepage again!
All I have re-installed is docker and docker-compose, I have only started two containers, Wordpress latest (which uses apache) and Mysql latest, thats it.
How am I still seeing this nginx message?
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 $200 of credit to try our products over 60 days!