remove cache.chir.rs, don’t use bunny for attic.chir.rs

This commit is contained in:
Charlotte 🦝 Delenk 2023-07-30 08:03:18 +01:00
parent 55580e5e84
commit 09ce77c708
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 5 additions and 9 deletions

View file

@ -14,8 +14,8 @@
credentialsFile = config.sops.secrets."services/attic".path;
settings = {
listen = "[::1]:57448";
allowed-hosts = ["attic.chir.rs" "attic-nocdn.chir.rs"];
api-endpoint = "https://attic-nocdn.chir.rs/";
allowed-hosts = ["attic.chir.rs"];
api-endpoint = "https://attic.chir.rs/";
database = lib.mkForce {};
storage = {
type = "s3";
@ -48,7 +48,7 @@
};
}
];
services.caddy.virtualHosts."attic-nocdn.chir.rs" = {
services.caddy.virtualHosts."attic.chir.rs" = {
useACMEHost = "chir.rs";
logFormat = lib.mkForce "";
extraConfig = ''

View file

@ -144,7 +144,7 @@ with dns.lib.combinators; let
SOA = {
nameServer = "ns1.chir.rs.";
adminEmail = "lotte@chir.rs";
serial = 32;
serial = 33;
};
NS = [
"ns1.chir.rs."
@ -237,14 +237,10 @@ with dns.lib.combinators; let
matrix = createZone {};
woodpecker = createZone {};
akko = createZone {};
cache.CNAME = [
"cache-chir-rs.b-cdn.net."
];
peertube = createZone {};
mediaproxy.CNAME = ["mediaproxy-chir-rs.b-cdn.net."];
auth = createFullZone {};
attic-nocdn = createFullZone {};
attic.CNAME = ["attic-chir-rs.b-cdn.net."];
attic = createFullZone {};
cloud = createZone oracleBase;
lotte = createZone {};
ipfs-nocdn = createZone oracleBase;