I upload my web site via dploy.io, I have provided /usr/share/ngnix/html as the path to upload files. Dploy tells me the file are successfully uploaded, but I cannot see them when I log as root (using putty). Yet, if I do a find / -name ‘world.html’ -print ubuntu tells me the file is there! yet, no amount of ls -la will show it, and oddly report 20 files while only 5 showing (including . and … entries). I destroyed and reinstalled the droplet many times trying different variations without success. I am not sure if it’s an Ubuntu or an Ngnix issue, or neither. Any help would be greatly appreciated. Thank you.
Here’s a paste of session interaction:
root@valcatraz:/usr/share/nginx/html# ls -la total 20 drwxr-xr-x 2 root root 4096 Jul 4 12:36 . drwxr-xr-x 3 root root 4096 Mar 24 12:11 … -rw-r–r-- 1 root root 537 Mar 4 2014 50x.html -rw-r–r-- 1 root root 618 Jul 4 12:36 index.html -rw-r–r-- 1 root root 20 Mar 24 12:12 info.php
root@valcatraz:/usr/share/nginx/html# find / -name ‘world.html’ -print /usr/share/ngnix/html/world.html
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!