oopsidentify
This commit is contained in:
parent
f159c2cb9d
commit
ae431ac3dc
4 changed files with 30 additions and 2 deletions
|
|
@ -79,7 +79,7 @@
|
||||||
./system/web-server/outline.nix
|
./system/web-server/outline.nix
|
||||||
./system/web-server/jenkins.nix
|
./system/web-server/jenkins.nix
|
||||||
./system/web-server/mail
|
./system/web-server/mail
|
||||||
./system/web-server/ksh-map.nix
|
./system/web-server/oopsidentify.nix
|
||||||
./system/web-server/fundkorb-button.nix
|
./system/web-server/fundkorb-button.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
settings.experimental-features = [ "nix-command" "flakes" ];
|
settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
gc.automatic = true;
|
gc.automatic = true;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,23 @@
|
||||||
{ config, pkgs, ... }:
|
{ 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
9
system/web-server/oopsidentify.nix
Normal file
9
system/web-server/oopsidentify.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.nginx.virtualHosts."oops.t9e.me" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
root = "/var/www/oopsidentify/dist";
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue