summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Omni/Cloud/Git.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/Omni/Cloud/Git.nix b/Omni/Cloud/Git.nix
index 50fe2c0..4d04b98 100644
--- a/Omni/Cloud/Git.nix
+++ b/Omni/Cloud/Git.nix
@@ -14,6 +14,9 @@ in {
nginx.virtualHosts."git.${domain}" = {
forceSSL = true;
useACMEHost = domain;
+ extraConfig = ''
+ add_header X-Robots-Tag "noindex, follow" always;
+ '';
};
cgit."git.${domain}" = {
enable = true;