Guest User

Untitled

a guest
Apr 9th, 2018
10,541
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. upstream backend {
  2.     server 192.168.1.3:19999;
  3.     keepalive 64;
  4. }
  5.  
  6. server {
  7.     listen 443 ssl default_server;
  8.     listen 80 default_server;
  9.     root /config/www;
  10.     index index.html index.htm index.php;
  11.  
  12.     server_name _;
  13.  
  14.     ssl_certificate /config/keys/letsencrypt/fullchain.pem;
  15.     ssl_certificate_key /config/keys/letsencrypt/privkey.pem;
  16.     ssl_dhparam /config/nginx/dhparams.pem;
  17.     ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
  18.     ssl_prefer_server_ciphers on;
  19.  
  20.     client_max_body_size 0;
  21.  
  22.     location = / {
  23.         return 301 /htpc;
  24.     }
  25.  
  26.     location /sonarr {
  27.         include /config/nginx/proxy.conf;
  28.         proxy_pass http://192.168.1.3:8989/sonarr;
  29.     }
  30.    
  31.     location /radarr {
  32.         include /config/nginx/proxy.conf;
  33.         proxy_pass http://192.168.1.3:7878/radarr;
  34.     }
  35.  
  36.     location /htpc {
  37.         include /config/nginx/proxy.conf;
  38.         proxy_pass http://192.168.1.3:8085/htpc;
  39.     }
  40.  
  41.    
  42.     location /downloads {
  43.         include /config/nginx/proxy.conf;
  44.         proxy_pass  http://192.168.1.3:8112/;
  45.         proxy_set_header  X-Deluge-Base "/downloads/";
  46.     }
  47.    
  48.     #PLEX
  49.     location /web {
  50.         # serve the CSS code
  51.         proxy_pass http://192.168.1.3:32400;
  52.     }
  53.  
  54.     # Main /plex rewrite
  55.     location /plex {
  56.         # proxy request to plex server
  57.         proxy_pass http://192.168.1.3:32400/web;
  58.     }
  59.  
  60.     location /nextcloud {
  61.         include /config/nginx/proxy.conf;
  62.         proxy_pass https://192.168.1.3:445/nextcloud;
  63.     }
  64.    
  65.     location ~ /netdata/(?<ndpath>.*) {
  66.         proxy_set_header X-Forwarded-Host $host;
  67.         proxy_set_header X-Forwarded-Server $host;
  68.         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  69.         proxy_pass http://backend/$ndpath$is_args$args;
  70.         proxy_http_version 1.1;
  71.         proxy_pass_request_headers on;
  72.         proxy_set_header Connection "keep-alive";
  73.         proxy_store off;
  74.     }
  75. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×