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.