configuration
flake
hosts
_iso
aluminium
astatine
backup-4
beryllium
carbon
clerie-backup
dn42-il-gw1
dn42-il-gw5
dn42-il-gw6
dn42-ildix-clerie
dn42-ildix-service
gatekeeper
hydra-1
hydra-2
krypton
mail-2
monitoring-3
nonat
osmium
palladium
porter
storage-2
tungsten
web-2
blog.nix
bula22.nix
chaosevents.nix
clerie.nix
configuration.nix
drop.nix
etebase.nix
feeds.nix
fieldpoc.nix
gitea.nix
hardware-configuration.nix
ip.nix
legal.nix
meow.nix
milchinsel.nix
mitel-ommclient2.nix
nix-install.nix
nurausstieg.nix
ping.nix
public.nix
radicale.nix
reichartstrasse.nix
secrets.json
ssh.pub
uptimestatus.nix
wetter.nix
zinc
lib
modules
pkgs
profiles
users
.gitignore
README.md
flake.lock
flake.nix
22 lines
584 B
Nix
22 lines
584 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.nginx.virtualHosts = {
|
|
"legal.clerie.de" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
root = pkgs.fetchgit {
|
|
url = "https://git.clerie.de/clerie/legal.clerie.de.git";
|
|
rev = "c6900226e3107a2e370a32759d83db472ab5450d";
|
|
sha256 = "sha256-lOjbHqYc/85rjotwQ5Oj+MSWnDIfLx2w5mpiJkChbXU=";
|
|
};
|
|
locations."/impressum" = {
|
|
return = ''301 https://legal.clerie.de/#impressum'';
|
|
};
|
|
locations."/datenschutz" = {
|
|
return = ''301 https://legal.clerie.de/#datenschutz'';
|
|
};
|
|
};
|
|
};
|
|
}
|