After updating Nextcloud today, I am getting a warning about the X-Robots-Tag HTTP header missing. I’ve added this line *add_header X-Robots-Tag “noindex,nofollow” always; * to the nextcloud.conf file in /etc/nginx/conf.d/mysitename.d/ folder and executed systemctl restart nginx. Nextcloud is still giving this warning however.
For me update (and not add) of the following line: more_set_headers "X-Robots-Tag: none"
with the following: more_set_headers "X-Robots-Tag: noindex, nofollow"
worked fine