oopsidentify

This commit is contained in:
Till 2025-07-03 23:56:40 +02:00
parent f159c2cb9d
commit ae431ac3dc
4 changed files with 30 additions and 2 deletions

View file

@ -79,7 +79,7 @@
./system/web-server/outline.nix
./system/web-server/jenkins.nix
./system/web-server/mail
./system/web-server/ksh-map.nix
./system/web-server/oopsidentify.nix
./system/web-server/fundkorb-button.nix
];
};

View file

@ -1,6 +1,7 @@
{ config, pkgs, ... }:
{
nix = {
settings.experimental-features = [ "nix-command" "flakes" ];
gc.automatic = true;

View file

@ -1,5 +1,23 @@
{ config, pkgs, ... }:
{
services.jenkins.enable = true;
services.jenkins = {
enable = true;
port = 7401;
};
security.acme.certs."${config.networking.domain}".extraDomainNames = [
"jenkins.${config.networking.domain}"
];
services.nginx.virtualHosts = {
"jenkins.${config.networking.domain}" = {
onlySSL = true;
useACMEHost = config.networking.domain;
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.jenkins.port}";
proxyWebsockets = true;
};
};
};
}

View file

@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
services.nginx.virtualHosts."oops.t9e.me" = {
forceSSL = true;
enableACME = true;
root = "/var/www/oopsidentify/dist";
};
}