mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 19:00:14 +00:00
hostnames and user settings
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
|
||||
let
|
||||
cfg = config.nmasur.presets.services.uptime-kuma;
|
||||
hostnames = config.nmasur.settings.hostnames;
|
||||
in
|
||||
|
||||
{
|
||||
@ -20,7 +21,7 @@ in
|
||||
# Allow web traffic to Caddy
|
||||
caddy.routes = [
|
||||
{
|
||||
match = [ { host = [ config.hostnames.status ]; } ];
|
||||
match = [ { host = [ hostnames.status ]; } ];
|
||||
handle = [
|
||||
{
|
||||
handler = "reverse_proxy";
|
||||
@ -33,7 +34,7 @@ in
|
||||
];
|
||||
|
||||
# Configure Cloudflare DNS to point to this machine
|
||||
services.cloudflare-dyndns.domains = [ config.hostnames.status ];
|
||||
services.cloudflare-dyndns.domains = [ hostnames.status ];
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user