fix(tazjin/nixos): set rad.tazj.in as preferred seed in explorer
This requires overriding build-time configuration, so I've added a little fixed point that takes care of that. Change-Id: Ie990e362c6e00aa6e3be66b04af4b62034b03515 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12489 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
767bc726ef
commit
10c2866ccd
2 changed files with 29 additions and 4 deletions
|
|
@ -270,9 +270,13 @@ in
|
|||
services.nginx.virtualHosts."src.tazj.in" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = depot.third_party.radicle-explorer.withPreferredSeeds [{
|
||||
hostname = "rad.tazj.in";
|
||||
port = 443;
|
||||
scheme = "https";
|
||||
}];
|
||||
|
||||
locations."/" = {
|
||||
root = depot.third_party.radicle-explorer;
|
||||
index = "index.html";
|
||||
extraConfig = ''
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
|
@ -283,6 +287,12 @@ in
|
|||
services.nginx.virtualHosts."src.y.tazj.in" = {
|
||||
enableSSL = true;
|
||||
useACMEHost = "y.tazj.in";
|
||||
root = depot.third_party.radicle-explorer.withPreferredSeeds [{
|
||||
hostname = "rad.y.tazj.in";
|
||||
port = 443;
|
||||
scheme = "https";
|
||||
}];
|
||||
|
||||
locations = config.services.nginx.virtualHosts."src.tazj.in".locations;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue