feat(workflow): 工作流提供方 - 集成 RunningHub 与 ComfyUI Bridge
This commit is contained in:
26
nginx.conf
26
nginx.conf
@@ -103,6 +103,32 @@ 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