How to hide Server Version

Hi, when I use a website to check how secure my cloud is I get this warning: Hide ā€œServer Versionā€.
So how can I hide the version to avoid attacks?

Aunt G. knows the answer, give it a try:

https://www.google.com/search?q=hide+server+version

I think an attacker can always find the version because of software releases for e.g. Javascript-Files.

Every user can load your nextcloud to login panel and then:

Also the attacker can read https://github.com/nextcloud/server/tree/master/core/js/dist

and open the file (e. g. login.js) on github and on the nextcloud to differ the releases:

Installed version to hack:
https://cloud.server.tld/core/js/dist/login.js

Normally it is ā€œstableā€:

Do you know the security scan?