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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user