Improved AI roles

This commit is contained in:
2025-06-02 22:52:04 +02:00
parent 54f7e5536a
commit 755e14a602
12 changed files with 144 additions and 73 deletions
+7 -1
View File
@@ -98,7 +98,7 @@ locals {
https_port = 8443
tls = true
fqdn = ["ai.alexpires.me"]
upstream = "http://10.19.4.106:8080"
upstream = "http://10.19.4.136:8080"
locations = [
{
path = "/ws/socket.io/"
@@ -113,6 +113,12 @@ locals {
upstream = "http://10.19.4.136:8000"
rewrite = "^/tools/gitea/(.*)$ /$1 break"
},
{
private = true
path = "/providers/ollama"
upstream = "http://10.19.4.106:11434"
rewrite = "^/providers/ollama/(.*)$ /$1 break"
},
{
path = "/"
},