Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: When using Nginx as a reverse proxy with a URL prefix, the sample template is unable to display and retrieve the corresponding workflow JSON due to the use of absolute paths. #1256

Open
HelloClyde opened this issue Oct 14, 2024 · 0 comments
Labels
Potential Bug Untriaged bug

Comments

@HelloClyde
Copy link

Frontend Version

v1.3.11

Expected Behavior

When using Nginx as a reverse proxy with a URL prefix configured, the sample template work correctly.

Actual Behavior

image

Steps to Reproduce

  1. Use a configuration similar to the following to set up Nginx as a reverse proxy
 location /comfyui-test/ {
        proxy_pass http://xx.xx.xx.xx:8188/;
        client_max_body_size 20M;
        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_hide_header   X-Powered-By;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
}
  1. Access ComfyUI using the proxy URL and attempt to use the template feature.

Debug Logs

ignore

Browser Logs

url https://xx/templates/default.jpg 404

url https://xx/templates/default.json 404

What browsers do you use to access the UI ?

Google Chrome

Other

No response

@HelloClyde HelloClyde added the Potential Bug Untriaged bug label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Untriaged bug
Projects
None yet
Development

No branches or pull requests

1 participant