Improved AI roles
This commit is contained in:
@@ -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 = "/"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user