Unverified Commit c794451f authored by teutat3s's avatar teutat3s
Browse files

nixos/nextcloud: avoid duplicate X-Robots-Tag header

We already set this header in nginx, and a duplicate header can lead to
issues, like: https://github.com/nextcloud/notes-android/issues/2848
parent 663c6b0d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1547,6 +1547,8 @@ in
            client_max_body_size ${cfg.maxUploadSize};
            fastcgi_buffers 64 4K;
            fastcgi_hide_header X-Powered-By;
            # mirror upstream htaccess file https://github.com/nextcloud/server/blob/v32.0.0/.htaccess#L40-L41
            fastcgi_hide_header X-Robots-Tag;
            gzip on;
            gzip_vary on;
            gzip_comp_level 4;