5 hours ago
It appears to me that a standard Ubuntu 20.04 distribution needs to be updated very regularly to protect the Apache server from hacking.
As I understand it, there are several commands to do this. Each one has a dated pedigree driving its usage.
From the Ubuntu manuals:
From another question: "By default, apt will ask you to overwrite or leave as-is, any configuration file detected to be changed during an upgrade."
But does this include "all" custom files like default, conf, ini, and other non-config-labeled files?
15 hours ago
Yes: Apt should ask you about each one if it detects a difference.
However, packagers are human beings and therefore fallible. Backups of your configs are wise.
If you discover a config file that is silently overwritten, please file a bug report.