So that I can remember for the future, here is what I did to correct this problem (I am running Ubuntu 16.04):
-
In /var/www/html/nextcloud/.htacess, I commented out: Header set Referrer-Policy "no-referrer"
-
In /etc/apache2/apache2.conf, I have the following:
<IfModule mod_headers.c>
Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
Header always set Referrer-Policy "no referrer"
Header always set Referrer-Policy "strict-origin"
</IfModule>
This removes the warning.
I hope that this is helpful to someone.