Merge pull request #76 from DarkKirb/use-bunny-net

Use bunny-net cdn
This commit is contained in:
Charlotte 🦝 Delenk 2022-11-28 11:46:43 +01:00 committed by GitHub
commit 4f0f09fcab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 5 deletions

View file

@ -1,4 +1,9 @@
{ config, pkgs, lib, ... }: {
{
config,
pkgs,
lib,
...
}: {
services.peertube = {
enable = true;
localDomain = "peertube.chir.rs";
@ -25,7 +30,7 @@
database.createLocally = true;
redis.createLocally = true;
};
systemd.services.peertube.path = with pkgs; lib.mkForce [ bashInteractive ffmpeg_5 nodejs-16_x openssl yarn python3 coreutils systemd ];
systemd.services.peertube.path = with pkgs; lib.mkForce [bashInteractive ffmpeg_5 nodejs-16_x openssl yarn python3 coreutils systemd];
services.caddy.virtualHosts."peertube.chir.rs" = {
useACMEHost = "chir.rs";
extraConfig = ''

View file

@ -102,7 +102,7 @@ with dns.lib.combinators; let
SOA = {
nameServer = "ns1.chir.rs.";
adminEmail = "lotte@chir.rs";
serial = 17;
serial = 18;
};
NS = [
"ns1.chir.rs."
@ -181,13 +181,17 @@ with dns.lib.combinators; let
ns2 = createZone {};
hydra = createZone {};
mastodon = createZone {};
mastodon-assets = createZone {};
mastodon-assets.CNAME = [
"assets-chir-rs.b-cdn.net"
];
matrix = createZone {};
drone = createZone {};
invtracker = createZone {};
akko = createZone {};
moa = createZone {};
cache = createZone {};
cache.CNAME = [
"cache-chir-rs.b-cdn.net"
];
peertube = createZone {};
int =