mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
19 lines
411 B
Nix
19 lines
411 B
Nix
{ config, pkgs, ... }: {
|
|
age.secrets.meteora-auth = {
|
|
file = ../../secrets/meteora-auth.age;
|
|
owner = "nginx";
|
|
};
|
|
|
|
services.nginx = {
|
|
enable = true;
|
|
virtualHosts."meteora.xn--kiern-0qa.de" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
root = "${pkgs.meteora-website}";
|
|
locations."/" = {
|
|
basicAuthFile = config.age.secrets.meteora-auth.path;
|
|
};
|
|
};
|
|
};
|
|
}
|