updated hosts
Some checks failed
Renovate / renovate (push) Failing after 3m51s
build flakes / build (x86_64-linux, wash, linux) (push) Failing after 1h19m38s

This commit is contained in:
Tyler Mayoff 2025-12-01 22:22:12 -05:00 committed by Tyle Mayoff
parent 81eaef2a01
commit 6a93cb9705

View file

@ -31,7 +31,7 @@
}; };
networking.hostName = "saffron"; # Define your hostname. networking.hostName = "saffron"; # Define your hostname.
networking.firewall.allowedTCPPorts = [ 443 ]; networking.firewall.allowedTCPPorts = [443 80];
# Caddy reverse proxy with DNS challenge # Caddy reverse proxy with DNS challenge
services.caddy = { services.caddy = {
@ -49,6 +49,84 @@
reverse_proxy serenity.pizzly-bortle.ts.net:5600 reverse_proxy serenity.pizzly-bortle.ts.net:5600
''; '';
}; };
virtualHosts."search.mayoff.ca" = {
extraConfig = ''
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
}
reverse_proxy serenity.pizzly-bortle.ts.net:6000
'';
};
virtualHosts."monitor.mayoff.ca" = {
extraConfig = ''
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
}
reverse_proxy serenity.pizzly-bortle.ts.net:8090
'';
};
virtualHosts."gitforge.mayoff.ca" = {
extraConfig = ''
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
}
reverse_proxy serenity.pizzly-bortle.ts.net:3000
'';
};
virtualHosts."immich.mayoff.ca" = {
extraConfig = ''
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
}
reverse_proxy serenity.pizzly-bortle.ts.net:2283
'';
};
virtualHosts."nextcloud.mayoff.ca" = {
extraConfig = ''
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
}
reverse_proxy serenity.pizzly-bortle.ts.net:8100
'';
};
# virtualHosts."documentserver.mayoff.ca" = {
# extraConfig = ''
# tls {
# dns cloudflare {env.CLOUDFLARE_API_TOKEN}
# }
# reverse_proxy serenity.pizzly-bortle.ts.net:8101
# '';
# };
virtualHosts."chat.mayoff.ca" = {
extraConfig = ''
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
}
reverse_proxy serenity.pizzly-bortle.ts.net:8009
'';
};
virtualHosts."media.mayoff.ca" = {
extraConfig = ''
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
}
reverse_proxy serenity.pizzly-bortle.ts.net:8096
'';
};
virtualHosts."homeassistant.mayoff.ca" = {
extraConfig = ''
tls {
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
}
reverse_proxy homeassistant.pizzly-bortle.ts.net:8123 {
header_up Host {upstream_hostport}
header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Proto {scheme}
header_up X-Forwarded-Host {host}
}
'';
};
}; };
# Set your time zone. # Set your time zone.