mn Posted December 27, 2010 Report Share Posted December 27, 2010 I've setup an nginx http server as a proxy to have the utorrent gui avaliable at localhost/utorrentinstead of localhost:8080/guiI get the favicon and the page shows "loading..." but then nothing happens.Has anyone tried this?This is my nginx config, if I use the specific ports it works. Its just that when I go through the proxy, it doesnt. location /utorrent/ { proxy_pass http://localhost:8080/gui/; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } Link to comment Share on other sites More sharing options...
mn Posted December 27, 2010 Author Report Share Posted December 27, 2010 I fixed it, I cant have the proxy point directly to the gui since it searches for static files under root path and not gui/shouldnt all static gui files be under /gui?might mess up the api anyway... fixed for now tho. Link to comment Share on other sites More sharing options...
mas0 Posted March 19, 2011 Report Share Posted March 19, 2011 Can you shed some light on how you got this to work? It seems my page gets stuck on loading... then eventually times out giving me WebUI is having trouble connecting to µTorrent.Try reloading the page.What did you change?I am using this:location /utorrent { proxy_pass http://192.168.2.10/gui; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.