Security Warning - Nextcloud 15.0.2

Hello

I am working on a dedicated server on which I installed Debian 8, Apache Php7.1.17 and Nextcloud 15.0.2.

I see the security warning:
The HTTP header “X-Content-Type-Options” is not configured to be equal to “nosniff”. This poses a potential security and privacy risk as it is recommended to adjust this parameter

while I have active on the server:
Header always set X-Content-Type-Options nosniff

Would anyone have an idea? please thank you

I see the security warning:
No memory cache is configured. If possible, configure a “memcache” to improve performance.

while I have active on the server:
memcached

memcached is set to 512MB

Would anyone have an idea? please thank you
Have a good day

Raphael

Have a look at patschi’s post: