webui corrupt when using nginx
Posted: Mon Jan 08, 2018 11:42 am
hi guys.
have just (or attempting to) migrated over from tranmission to deluge.
windows 10 64 bit.
it's installed and workind as expected locally (using the daemon in "head-less mode") - http://localhost:8119.
trying to get it working for nginx (as all my other apps do - plex, sabnzbd etc), with the expected outcome being http://domain.com/deluge.
this is my nginx config entry
and the proxy-contol.conf is (i had to copy this from elsewhere as i didn't have a proxy-control file).
problem is, when i attempt to access http://domain.com/deluge/ it takes ages to do anything, then eventually loads the webui but it's all corrupt.
what's went wrong?
have just (or attempting to) migrated over from tranmission to deluge.
windows 10 64 bit.
it's installed and workind as expected locally (using the daemon in "head-less mode") - http://localhost:8119.
trying to get it working for nginx (as all my other apps do - plex, sabnzbd etc), with the expected outcome being http://domain.com/deluge.
this is my nginx config entry
Code: Select all
location /deluge {
proxy_pass http://localhost:8112/;
proxy_set_header X-Deluge-Base "/deluge/";
include proxy-control.conf;
add_header X-Frame-Options SAMEORIGIN;
}
Code: Select all
proxy_connect_timeout 59s;
proxy_send_timeout 600;
proxy_read_timeout 36000s; ## Timeout after 10 hours
proxy_buffer_size 64k;
proxy_buffers 16 32k;
proxy_pass_header Set-Cookie;
proxy_hide_header Vary;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
proxy_set_header Accept-Encoding '';
proxy_ignore_headers Cache-Control Expires;
proxy_set_header Referer $http_referer;
proxy_set_header Host $host;
proxy_set_header Cookie $http_cookie;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Port '443';
proxy_set_header X-Forwarded-Ssl on;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Authorization '';
proxy_buffering off;
proxy_redirect off;
## Required for Plex WebSockets
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
what's went wrong?