Correct folder for Imprint.html

Hi,

I successfully added a link to my imprint.html in Admin → Design
On the web server the file is located in /var/www/html

But when I try to update Nextcloud I get the following error message:

“The following extra files have been found: imprint.html”

I then moved it into a different folder, e.g. /var/www/html/legal. But this also did not work.

Next I uploaded the file into a folder inside Nextcloud, but then Nextcloud opens the file and shows the html source code.

Does anyone have an idea how to fix this?

Thanks in advance,
Dirk