nixos-config/machines/renge/services/psycho-power-papagei.de/default.nix

22 lines
396 B
Nix
Raw Permalink Normal View History

2022-09-08 11:10:47 +02:00
{ pkgs, ... }:
{
services.nginx.virtualHosts = {
"psycho-power-papagei.de" = {
forceSSL = true;
enableACME = true;
root = ./.;
locations = {
"/imprint/".alias = "${pkgs.sbruder.imprint}/";
};
};
"www.psycho-power-papagei.de" = {
forceSSL = true;
enableACME = true;
globalRedirect = "psycho-power-papagei.de";
};
};
}