Clean build of nextcloud using docker and portainer on a debian 12 host system with the nextcloud behind a traefik reverse proxy.
NC Hub 10 (31.0.4)
Portainer BE: 2.275 LTS
Traefik: 3.3.6 as a reverse proxy
I’m getting the error warning
Some headers are not set correctly on your instance
‘X-Robots-Tag’ HTTP header is not set to noindex,nofollow
‘X-Frame-Options’ HTTP header is not set to sameorigin
I’ve checked the .htaccess in the nextcloud directory and see
Header onsuccess unset X-Frame-Options
Header always set X-Frame-Options "SAMEORIGIN"
Header onsuccess unset X-Robots-Tag
Header always set X-Robots-Tag "noindex, nofollow"
Do I need to set anything in the reverse proxy or anywhere else for these headers?