Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to prevent nginx from replacing my index.html with default nginx welcome page.
Every few days/weeks, my index.html page gets replaced with the “Welcome to nginx!” page. I’ve automated reupload enough for it to be a non-issue but i would still like to identify what causes this or fixes the overwriting of my file.
I am using the latest nginx on a DigitalOcean Droplet as of 03/29/2020.
Deployed using latest Ansible as of 03/29/2020.
Another user poster the same question here but that was in 2016 and no solution has been found yet.
Currently I have a cron job alerting me when a file changes and manually run reupload.
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.×