add ssh subdomain for git server

This commit is contained in:
Noah Masur 2025-05-03 22:09:36 +00:00
parent 820f5afe0b
commit 5966368620

View File

@ -94,6 +94,9 @@ in
# Configure Cloudflare DNS to point to this machine # Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ hostnames.git ]; services.cloudflare-dyndns.domains = [ hostnames.git ];
# Configure DNS to point to this machine without a proxy
nmasur.presets.services.cloudflare.noProxyDomains = [ "ssh.${hostnames.git}" ];
# Scrape the metrics endpoint for Prometheus. # Scrape the metrics endpoint for Prometheus.
nmasur.presets.services.prometheus-exporters.scrapeTargets = [ nmasur.presets.services.prometheus-exporters.scrapeTargets = [
"127.0.0.1:${builtins.toString config.services.gitea.settings.server.HTTP_PORT}" "127.0.0.1:${builtins.toString config.services.gitea.settings.server.HTTP_PORT}"