nix-infra/config/hosts/web-public-2/virtualHosts/acme-challenge.nix

69 lines
1.6 KiB
Nix
Raw Normal View History

2024-11-20 05:46:39 +01:00
{ ... }:
{
2024-11-20 05:46:40 +01:00
services.nginx.virtualHosts = {
"jellyfin.grzb.de" = {
listen = [{
addr = "0.0.0.0";
port = 80;
}];
locations."^~ /.well-known/acme-challenge/" = {
proxyPass = "http://jellyfin.vs.grzb.de:80";
};
2024-11-20 05:46:39 +01:00
};
2024-11-20 05:46:40 +01:00
"mail-1.grzb.de" = {
listen = [{
addr = "0.0.0.0";
port = 80;
}];
locations."^~ /.well-known/acme-challenge/" = {
proxyPass = "http://mail-1.vs.grzb.de:80";
};
};
2024-11-20 05:46:40 +01:00
"mastodon.nekover.se" = {
listen = [{
addr = "0.0.0.0";
port = 80;
}];
locations."^~ /.well-known/acme-challenge/" = {
proxyPass = "http://mastodon.vs.grzb.de:80";
};
2024-11-20 05:46:40 +01:00
};
2024-11-20 05:46:40 +01:00
"matrix.nekover.se" = {
listen = [{
addr = "0.0.0.0";
port = 80;
}];
locations."^~ /.well-known/acme-challenge/" = {
proxyPass = "http://matrix.vs.grzb.de:80";
};
2024-11-20 05:46:40 +01:00
};
2024-11-20 05:46:40 +01:00
"netbox.grzb.de" = {
listen = [{
addr = "0.0.0.0";
port = 80;
}];
locations."^~ /.well-known/acme-challenge/" = {
proxyPass = "http://netbox.vs.grzb.de:80";
};
2024-11-20 05:46:40 +01:00
};
2024-11-20 05:46:40 +01:00
"grafana.grzb.de" = {
listen = [{
addr = "0.0.0.0";
port = 80;
}];
locations."^~ /.well-known/acme-challenge/" = {
proxyPass = "http://metrics.vs.grzb.de:80";
};
};
"turn.nekover.se" = {
listen = [{
addr = "0.0.0.0";
port = 80;
}];
locations."^~ /.well-known/acme-challenge/" = {
proxyPass = "http://coturn.vs.grzb.de:80";
};
};
};
2024-11-20 05:46:39 +01:00
}