mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
meteora: host on ful
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
./wallabag.nix
|
||||
./nethack.nix
|
||||
./opencrow.nix
|
||||
./meteora.nix
|
||||
];
|
||||
|
||||
niveum.passport = {
|
||||
|
||||
18
systems/ful/meteora.nix
Normal file
18
systems/ful/meteora.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user