forked from nico/dots
caddy: init
This commit is contained in:
parent
2dd3ade483
commit
25f02ec9ee
6 changed files with 118 additions and 25 deletions
|
|
@ -3,9 +3,9 @@
|
|||
{
|
||||
services.glance = {
|
||||
enable = true;
|
||||
settings.server.port = 80;
|
||||
settings.server.port = 8888;
|
||||
settings.server.host = "0.0.0.0";
|
||||
openFirewall = true;
|
||||
openFirewall = false;
|
||||
settings = {
|
||||
pages = [
|
||||
{
|
||||
|
|
@ -57,35 +57,35 @@
|
|||
links = [
|
||||
{
|
||||
title = "Jellyfin";
|
||||
url = "http://${config.networking.hostName}:8096";
|
||||
url = "https://watch.${config.homelab.domain}";
|
||||
}
|
||||
{
|
||||
title = "Jellyseer";
|
||||
url = "http://${config.networking.hostName}:5055";
|
||||
url = "https://jellyseer.${config.homelab.domain}";
|
||||
}
|
||||
{
|
||||
title = "Radarr";
|
||||
url = "http://${config.networking.hostName}:7878";
|
||||
url = "https://radarr.${config.homelab.domain}";
|
||||
}
|
||||
{
|
||||
title = "Sonarr";
|
||||
url = "http://${config.networking.hostName}:8989";
|
||||
url = "https://sonarr.${config.homelab.domain}";
|
||||
}
|
||||
{
|
||||
title = "Lidarr";
|
||||
url = "http://${config.networking.hostName}:8686";
|
||||
url = "https://lidarr.${config.homelab.domain}";
|
||||
}
|
||||
{
|
||||
title = "Prowlarr";
|
||||
url = "http://${config.networking.hostName}:9696";
|
||||
url = "https://prowlarr.${config.homelab.domain}";
|
||||
}
|
||||
{
|
||||
title = "Bazarr";
|
||||
url = "http://${config.networking.hostName}:6767";
|
||||
url = "https://bazarr.${config.homelab.domain}";
|
||||
}
|
||||
{
|
||||
title = "Deluge";
|
||||
url = "http://${config.networking.hostName}:8112";
|
||||
url = "https://deluge.${config.homelab.domain}";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
links = [
|
||||
{
|
||||
title = "Miniflux";
|
||||
url = "http://${config.networking.hostName}:8021";
|
||||
url = "https://rss.${config.homelab.domain}";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
@ -109,6 +109,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
# allow services to bind to port 80
|
||||
boot.kernel.sysctl."net.ipv4.ip_unprivileged_port_start" = 0;
|
||||
services.caddy.virtualHosts."${config.homelab.domain}" = {
|
||||
useACMEHost = config.homelab.domain;
|
||||
extraConfig = ''
|
||||
reverse_proxy http://localhost:8888
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue