Nginx on Windows

Specific support for Deluge on Microsoft Windows OS
MrAnderson
New User
New User
Posts: 2
Joined: Sat Nov 05, 2016 2:44 pm
OS or Distro: Windows

Nginx on Windows

Postby MrAnderson » Sat Nov 05, 2016 2:53 pm

Having trouble getting Deluge working with nginx on Windows. Followed the other articles I found in this forum, but it is not working correctly. The internal address works fine. The nginx URL loads, but the frames are all messed up. Relevant lines from Web.conf and nginx.conf are eblow as well as a screen shot. I am thinking it is an extra or missing trialing forward slash somewhere.


web.conf

Code: Select all

 "base": "/deluge",


nginx.conf

Code: Select all

location /deluge {
        proxy_pass https://192.168.1.103:8112/;
        proxy_set_header X-Deluge-Base "/deluge/";
      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;
}
Attachments
Untitled.jpg
Untitled.jpg (74.2 KiB) Viewed 1183 times

Cas
Top Bloke
Top Bloke
Posts: 3474
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Nginx on Windows

Postby Cas » Sat Nov 05, 2016 5:53 pm


MrAnderson
New User
New User
Posts: 2
Joined: Sat Nov 05, 2016 2:44 pm
OS or Distro: Windows

Re: Nginx on Windows

Postby MrAnderson » Sat Nov 05, 2016 7:03 pm

Sorry for the newbie question. I am running on Windows and am not running apache or any web server for that matter. I do not understand how that article relates to this scenario. Does Deluge have to be served up from a web server in order for the reverse proxy to work? I have tired the nginx code from that article, but it did not work. What am I missing?


Return to “Windows OS”

Who is online

Users browsing this forum: No registered users and 8 guests