chore: commit workspace updates
This commit is contained in:
1 parent
01a2d171f5
commit
9727656b2b
491 files changed
+12826
-72249
No files matched your search
+1
-27
@@ -36,7 +36,7 @@ server {
|
||||
}
|
||||
|
||||
# 文本任务事件流必须逐条转发;该规则只作用于 SSE,不改变其他 API 的缓存和超时策略。
|
||||
location ~ ^/api/tasks/[^/]+/text-events$ {
|
||||
location ~ ^/api/(tasks/[^/]+/text-events|agent/runs/[^/]+/events)$ {
|
||||
proxy_pass http://backend:8080;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
@@ -103,32 +103,6 @@ server {
|
||||
try_files /index.html =404;
|
||||
}
|
||||
|
||||
# Bridge 是跨平台自包含程序,缺失时必须返回 404,不能被 SPA 回退替换成 index.html。
|
||||
location = /OpenAICanvas-ComfyBridge.exe {
|
||||
default_type application/octet-stream;
|
||||
add_header Cache-Control "no-cache" always;
|
||||
add_header Content-Disposition 'attachment; filename="OpenAICanvas-ComfyBridge.exe"' always;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location = /OpenAICanvas-ComfyBridge-linux-amd64 {
|
||||
default_type application/octet-stream;
|
||||
add_header Cache-Control "no-cache" always;
|
||||
add_header Content-Disposition 'attachment; filename="OpenAICanvas-ComfyBridge-linux-amd64"' always;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location = /OpenAICanvas-ComfyBridge-linux-arm64 {
|
||||
default_type application/octet-stream;
|
||||
add_header Cache-Control "no-cache" always;
|
||||
add_header Content-Disposition 'attachment; filename="OpenAICanvas-ComfyBridge-linux-arm64"' always;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location = /comfy-bridge.mjs {
|
||||
return 410;
|
||||
}
|
||||
|
||||
location ^~ /share/canvas/ {
|
||||
access_log off;
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
||||
Reference in new issue
Block a user