Initial lightweight AI agent admin
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# AI Agent Admin begin
|
||||
location = /ai-agent-admin {
|
||||
return 301 /ai-agent-admin/;
|
||||
}
|
||||
|
||||
location ^~ /ai-agent-admin/basic-api/ {
|
||||
proxy_pass http://127.0.0.1:18083/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 300s;
|
||||
client_max_body_size 100m;
|
||||
}
|
||||
|
||||
location ^~ /ai-agent-admin/ {
|
||||
try_files $uri $uri/ /ai-agent-admin/index.html;
|
||||
}
|
||||
# AI Agent Admin end
|
||||
Reference in New Issue
Block a user