Add configuration for CoreDNS and update host variables for lab environment
This commit is contained in:
@@ -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"
|
||||
}
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user