Comfy-Org / Comfy-Org/ComfyUI

Save flow 405

Open
#9,664 3 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

```python
nginx:
location ~* ^/comfyui/ {

rewrite ^/comfyui/(.*) /$1 break;# 关键修复:路径重写

proxy_pass http://localhost:8188;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
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 86400s;
}
```
Image

test: http://www.diyyq.com/comfyui/

http://www.diyyq.com/comfyui/api/userdata/comfy.settings.json 可以访问 Yes
http://www.diyyq.com/comfyui/api/userdata/workflows/lama图片去水印.json 不可以访问No

我发现在 workflows 目录下的都不能访问

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.