Add nginx server block for api.fxhnt.ai with grpc_pass to the api-gateway ClusterIP service. Add Scaleway DNS A record via Terraform module. Fix fxt gRPC client to enable TLS when connecting to https:// endpoints (tonic requires explicit ClientTlsConfig). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
42 lines
821 B
HCL
42 lines
821 B
HCL
# DNS records for fxhnt.ai zone (Scaleway DNS)
|
|
|
|
resource "scaleway_domain_record" "git" {
|
|
dns_zone = var.dns_zone
|
|
name = "git"
|
|
type = "A"
|
|
data = var.git_ip
|
|
ttl = 300
|
|
}
|
|
|
|
resource "scaleway_domain_record" "grafana" {
|
|
dns_zone = var.dns_zone
|
|
name = "grafana"
|
|
type = "A"
|
|
data = var.git_ip
|
|
ttl = 300
|
|
}
|
|
|
|
resource "scaleway_domain_record" "prometheus" {
|
|
dns_zone = var.dns_zone
|
|
name = "prometheus"
|
|
type = "A"
|
|
data = var.git_ip
|
|
ttl = 300
|
|
}
|
|
|
|
resource "scaleway_domain_record" "dashboard" {
|
|
dns_zone = var.dns_zone
|
|
name = "dashboard"
|
|
type = "A"
|
|
data = var.git_ip
|
|
ttl = 300
|
|
}
|
|
|
|
resource "scaleway_domain_record" "api" {
|
|
dns_zone = var.dns_zone
|
|
name = "api"
|
|
type = "A"
|
|
data = var.git_ip
|
|
ttl = 300
|
|
}
|