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

Add argument for Gradio's root_path to enable reverse proxy support #2333

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

hlky
Copy link
Contributor

@hlky hlky commented Apr 18, 2024

As per Gradio documentation root_path has to be set for reverse proxy support.

This PR adds root_path argument to kohya_gui.py, the value must match reverse proxy configuration:

    location /kohya_ss {
        proxy_pass http://127.0.0.1:7860/;
...
--root_path /kohya_ss

@bmaltais bmaltais changed the base branch from master to dev April 18, 2024 22:06
@bmaltais bmaltais merged commit 787c9af into bmaltais:dev Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants