From 6856874d52cfc2221e128c4797fb28d84efce1b4 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 21 Oct 2024 08:50:38 -0700 Subject: prevent webcrawler to index pages --- nix/hosts/wildcat/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nix/hosts/wildcat/configuration.nix') diff --git a/nix/hosts/wildcat/configuration.nix b/nix/hosts/wildcat/configuration.nix index 6078bf7..d7ab350 100644 --- a/nix/hosts/wildcat/configuration.nix +++ b/nix/hosts/wildcat/configuration.nix @@ -27,7 +27,7 @@ # Make dirs/files group readable, needed for webserver/cgit. (Default # setting is 0077.) $RC{UMASK} = 0027; - $RC{GIT_CONFIG_KEYS} = 'cgit.desc cgit.hide cgit.ignore cgit.owner cgit.section'; + $RC{GIT_CONFIG_KEYS} = 'cgit.desc cgit.hide cgit.ignore cgit.owner'; $RC{LOCAL_CODE} = "$rc{GL_ADMIN_BASE}/local"; push( @{$RC{ENABLE}}, 'symbolic-ref' ); ''; @@ -44,6 +44,7 @@ css = "/cgit.css"; logo = "/cgit.png"; favicon = "/favicon.ico"; + robots = "noindex, nofollow"; readme = ":README.md"; project-list = "/var/lib/gitolite/projects.list"; about-filter = "${pkgs.cgit-pink}/lib/cgit/filters/about-formatting.sh"; -- cgit 1.4.1