mirror of
https://seed.radicle.dev/rad:z254T5p17bdFPmzfDojsdjo4HjpoZ.git
synced 2026-11-29 06:00:29 +08:00
os/seed: Double as files.radicle.xyz
This commit is contained in:
+1
-3
@@ -44,9 +44,6 @@ D("radicle.xyz", REG_NONE, DnsProvider(DSP_CLOUDFLARE),
|
||||
PTR("_services._dns-sd._udp", "_radicle-node._tcp.radicle.xyz."),
|
||||
|
||||
|
||||
A("files", "65.109.236.201"),
|
||||
|
||||
|
||||
A("iris", "95.217.156.6"),
|
||||
AAAA("iris", "2a01:4f9:c010:dfaa::1"),
|
||||
SSHFP("iris", 4, 1, "1ffe43af8f30c34373515fa24f1b9fe69532a9d5"),
|
||||
@@ -80,6 +77,7 @@ D("radicle.xyz", REG_NONE, DnsProvider(DSP_CLOUDFLARE),
|
||||
SSHFP("seed", 4, 1, "9033b89019264dbad5a744057166a5e1b7af92f7"),
|
||||
|
||||
ALIAS("attic", "seed"),
|
||||
ALIAS("files", "seed"),
|
||||
ALIAS("grafana", "seed"),
|
||||
ALIAS("logs", "seed"),
|
||||
ALIAS("loki", "seed"),
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
./radicle.nix
|
||||
./grafana.nix
|
||||
./victorialogs.nix
|
||||
./files.nix
|
||||
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
let
|
||||
name = "files.radicle.xyz";
|
||||
in {
|
||||
services.nginx.virtualHosts.${name} = {
|
||||
root = "/var/www/${name}";
|
||||
extraConfig = ''
|
||||
add_header 'Access-Control-Allow-Origin' 'https://radicle.xyz';
|
||||
autoindex on;
|
||||
'';
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
serverName = name;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user