Skip to content

[Feature] Can put rqbit Web UI behind proxy server#301

Merged
ikatson merged 1 commit intomainfrom
api-base-2
Jan 13, 2025
Merged

[Feature] Can put rqbit Web UI behind proxy server#301
ikatson merged 1 commit intomainfrom
api-base-2

Conversation

@ikatson
Copy link
Copy Markdown
Owner

@ikatson ikatson commented Jan 13, 2025

This is related to features mentioned in #296

This allows you to put rqbit Web UI behind a proxy server under a different path, and it'll still work.

E.g. for nginx

        # Proxy requests to /rqbit/ to rqbit at http://localhost:3030
        location /rqbit/ {
            proxy_pass http://localhost:3030/;
            proxy_http_version 1.1;

            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }

Then open URL/rqbit/web/ in your HTTP server

CC @mpmc

@ikatson ikatson merged commit 6cb4289 into main Jan 13, 2025
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.

1 participant