SHARE
TWEET

tautulli

a guest Dec 23rd, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. location /tautulli {
  3.     proxy_pass              http://127.0.0.1:8181;
  4.     include                 proxy-control.conf;
  5.     include                 auth-basic.conf;
  6.     proxy_set_header        X-Forwarded-Host        $server_name;
  7.     proxy_redirect          ~^(http(?:s)?://)([^:/]+)(?::\d+)?(/.*)?$ $1$2:$server_port$3;
  8. }
  9.  
  10. location /tautulli {
  11.      proxy_pass http://127.0.0.1:8181;
  12.      proxy_redirect         off;
  13.      proxy_set_header       Host                    $host;
  14.      proxy_set_header       X-Real-IP               $remote_addr;
  15.      proxy_set_header       X-Forwarded-For         $proxy_add_x_forwarded_for;
  16. }
  17.  
  18. location /tautulli/ {
  19.     proxy_pass http://127.0.0.1:8181;
  20.     proxy_set_header        Host                    $host;
  21.     proxy_set_header        X-Forwarded-Host $server_name;
  22.     proxy_set_header        X-Real-IP               $remote_addr;
  23.     proxy_set_header        X-Forwarded-For         $proxy_add_x_forwarded_for;
  24.     proxy_read_timeout      90;
  25.     proxy_set_header        X-Forwarded-Proto       $scheme;
  26.     set                     $xforwardedssl          "off";
  27.     if ($scheme = https) {
  28.             set $xforwardedssl "on";
  29.     }
  30.     proxy_set_header        X-Forwarded-Ssl         $xforwardedssl;
  31.     proxy_redirect          ~^(http(?:s)?://)([^:/]+)(?::\d+)?(/.*)?$ $1$2:$server_port$3;
  32. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top