Added anubis (testing)
Some checks failed
Deploy NixOS / deploy (push) Failing after 35s

This commit is contained in:
2026-03-08 12:20:10 -06:00
parent 2a077bad21
commit e56a4ddb4b
4 changed files with 19 additions and 3 deletions

12
modules/anubis.nix Normal file
View File

@@ -0,0 +1,12 @@
{ ... }:
{
services.anubis = {
enable = true;
settings = {
firewall.enabled = true;
firewall.block_openai = true;
firewall.block_google = true;
};
};
}

View File

@@ -84,6 +84,7 @@ in
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
X-Robots-Tag "noimageindex, noodp, noydir, noindex, nofollow"
Referrer-Policy "strict-origin-when-cross-origin"
Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https://*.atri.dad https://*.atash.dev; font-src 'self' data:; connect-src 'self' wss: https://*.atri.dad https://*.atash.dev; object-src 'none'; base-uri 'self'; frame-ancestors 'none'"
-Server
@@ -98,6 +99,7 @@ in
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
X-Robots-Tag "noimageindex, noodp, noydir, noindex, nofollow"
Referrer-Policy "strict-origin-when-cross-origin"
Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https:; font-src 'self' data:; connect-src 'self' wss: https://*.atri.dad https://*.atash.dev; media-src 'self' https://rogers-hls.leanstream.co; object-src 'none'; base-uri 'self'; frame-ancestors 'none'"
-Server