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

[offtopic] question about reverse proxy Deluge #4

Closed
ghost opened this issue Mar 7, 2015 · 3 comments
Closed

[offtopic] question about reverse proxy Deluge #4

ghost opened this issue Mar 7, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Mar 7, 2015

Hi,

I looked at your docker container, but unfortunately I run a Rpi which means I cannot use your docker container. I've setup Deluge myself and this all went fine (running 1.3.3).

But now I tried to setup Nginx in front of Deluge myself and I can't get it to work. I even downloaded the source of Deluge and build it myself (1.3.11) but no luck either.

This is my nginx config:

location /deluge/ {
      proxy_pass                          http://localhost:8112;
      proxy_set_header  X-Deluge-Base     "/deluge";
      proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
      proxy_redirect off;
      proxy_buffering off;
      include          /etc/nginx/proxy-control.conf;
  }

I already borrowed some bits of other projects, but I still get the HTTP response:

No Such Resource

No such child resource.

I figured, since you've got it to work, do you have any clue of what is going wrong, or where i search?

@Toilal
Copy link
Owner

Toilal commented Mar 8, 2015

I think there's a trailing / missing on X-Deluge-Base header.

@Toilal
Copy link
Owner

Toilal commented Mar 8, 2015

Take take to trailing / for each setting :

  location /deluge {
    proxy_pass http://localhost:8112/;
    proxy_set_header        X-Deluge-Base   "/deluge/";

@Toilal Toilal closed this as completed Mar 8, 2015
@ghost
Copy link
Author

ghost commented Mar 8, 2015

Thanks, the trailing / at the proxy_pass did it for me!

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

No branches or pull requests

1 participant