Add configuration for CoreDNS and update host variables for lab environment

This commit is contained in:
2025-06-07 16:12:55 +02:00
parent d3b8aff1ae
commit 3cda0b5624
18 changed files with 425 additions and 44 deletions
+4 -9
View File
@@ -97,16 +97,15 @@ locals {
http_port = 8080
https_port = 8443
tls = true
resolver = "10.19.4.136"
fqdn = ["ai.alexpires.me"]
upstream = "https://10.19.4.136"
upstream = "https://open-webui.lab.alexpires.me"
locations = [
{
path = "/ws/socket.io/"
headers = {
"Host" = "$host"
"X-Forwarded-For" = "$remote_addr"
"Upgrade" = "$http_upgrade"
"Connection" = "upgrade"
"Upgrade" = "$http_upgrade"
"Connection" = "upgrade"
}
},
# {
@@ -117,10 +116,6 @@ locals {
# },
{
path = "/"
headers = {
"Host" = "$host"
"X-Forwarded-For" = "$remote_addr"
}
},
]
},