Compare commits
2 Commits
6fced94cb5
...
362a6fcf7f
Author | SHA1 | Date | |
---|---|---|---|
362a6fcf7f | |||
1e22756876 |
@ -10,6 +10,7 @@
|
||||
./chaosevents.nix
|
||||
./clerie.nix
|
||||
./drop.nix
|
||||
./fieldpoc.nix
|
||||
./gitea.nix
|
||||
./iot-data.nix
|
||||
./ip.nix
|
||||
@ -18,7 +19,6 @@
|
||||
./milchinsel.nix
|
||||
./mitel-ommclient2.nix
|
||||
./ping.nix
|
||||
./prediger.nix
|
||||
./public.nix
|
||||
./radicale.nix
|
||||
./reichartstrasse.nix
|
||||
|
19
hosts/web-2/fieldpoc.nix
Normal file
19
hosts/web-2/fieldpoc.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ ... }: {
|
||||
services.update-from-hydra.paths.fieldpoc = {
|
||||
enable = true;
|
||||
hydraUrl = "https://hydra.clerie.de";
|
||||
hydraProject = "clerie";
|
||||
hydraJobset = "fieldpoc";
|
||||
hydraJob = "packages.x86_64-linux.docs";
|
||||
nixStoreUri = "https://nix-cache.clerie.de";
|
||||
resultPath = "/srv/fieldpoc";
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts = {
|
||||
"fieldpoc.clerie.de" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/srv/fieldpoc";
|
||||
};
|
||||
};
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.nginx.virtualHosts = {
|
||||
"prediger.riese.space" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = pkgs.fetchgit {
|
||||
url = "https://git.clerie.de/clerie/prediger.riese.space.git";
|
||||
rev = "7f51e884ccf8a258838adb1d825bc51eeef2f475";
|
||||
sha256 = "sha256-tL+k9l0fX4dc971y4EWGM++BvjfnvRAtU/LvS2QYANU=";
|
||||
};
|
||||
locations."/map/" = {
|
||||
alias = pkgs.fetchgit {
|
||||
url = "https://git.clerie.de/quiribi/Prediger-workadventure.git";
|
||||
rev = "304850367aad275c3410005580313dac7fe24788";
|
||||
sha256 = "sha256-t6C7k5p6ZKfQedumTqxEmGYQqgaE3OiK5q41dDWnz/Y=";
|
||||
} + "/";
|
||||
extraConfig = ''
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user