2020-02-27 14:05:08 +00:00
|
|
|
send_timeout 5m;
|
|
|
|
proxy_read_timeout 240;
|
|
|
|
proxy_send_timeout 240;
|
|
|
|
proxy_connect_timeout 240;
|
|
|
|
client_header_timeout 240;
|
|
|
|
client_body_timeout 240;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
root /usr/local/www/Organizr;
|
|
|
|
index index.php index.html index.htm index.nginx-debian.html;
|
|
|
|
location ~ /auth-(.*) {
|
|
|
|
internal;
|
|
|
|
rewrite ^/auth-(.*) /api/?v1/auth&group=$1;
|
|
|
|
}
|
|
|
|
error_page 400 401 402 403 404 405 408 500 502 503 504 $scheme://$server_name/?error=$status;
|
|
|
|
location / {try_files $uri $uri/ =404;}
|
|
|
|
include custom/phpblock.conf; #PHP Block
|
|
|
|
}
|
|
|
|
|
|
|
|
location /transmission {
|
|
|
|
auth_request /auth-0;
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN";
|
2020-02-27 17:12:07 +00:00
|
|
|
proxy_pass http://192.168.30.29:9091;
|
2020-02-27 14:05:08 +00:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
}
|
|
|
|
|
|
|
|
location /nzbget {
|
|
|
|
auth_request /auth-0;
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN";
|
|
|
|
proxy_pass http://127.0.0.1:6789;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
}
|
|
|
|
|
|
|
|
location /nzbhydra/ {
|
|
|
|
auth_request /auth-0;
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN";
|
|
|
|
proxy_pass http://127.0.0.1:5075/nzbhydra/;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
}
|
|
|
|
|
|
|
|
location /sonarr {
|
|
|
|
auth_request /auth-0;
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN";
|
2020-02-27 20:45:39 +00:00
|
|
|
proxy_pass http://192.168.31.23:8989;
|
2020-02-27 14:05:08 +00:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
}
|
|
|
|
|
|
|
|
location /radarr {
|
|
|
|
auth_request /auth-0;
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN";
|
2020-02-27 20:45:39 +00:00
|
|
|
proxy_pass http://192.168.31.24:7878;
|
2020-02-27 14:05:08 +00:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
}
|
2020-02-27 17:12:07 +00:00
|
|
|
|
|
|
|
location /lidarr {
|
|
|
|
auth_request /auth-0;
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN";
|
2020-02-27 20:45:39 +00:00
|
|
|
proxy_pass http://192.168.31.25:7878;
|
2020-02-27 17:12:07 +00:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
}
|
2020-02-27 14:05:08 +00:00
|
|
|
|
|
|
|
location /jackett {
|
|
|
|
auth_request /auth-0;
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN";
|
2020-02-27 20:45:39 +00:00
|
|
|
proxy_pass http://192.168.31.21:9117;
|
2020-02-27 14:05:08 +00:00
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
|
proxy_set_header X-Forwarded-Host $http_host;
|
|
|
|
proxy_redirect off;
|
|
|
|
}
|
|
|
|
|
|
|
|
location /plex/ {
|
|
|
|
auth_request /auth-4;
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN";
|
2020-02-27 21:20:21 +00:00
|
|
|
proxy_pass http://192.168.30.27:32400/;
|
2020-02-27 14:05:08 +00:00
|
|
|
client_max_body_size 10m;
|
|
|
|
client_body_buffer_size 128k;
|
|
|
|
proxy_bind $server_addr;
|
|
|
|
proxy_buffers 32 4k;
|
|
|
|
#Timeout if the real server is dead
|
|
|
|
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
|
|
|
|
# Advanced Proxy Config
|
|
|
|
send_timeout 5m;
|
|
|
|
proxy_read_timeout 240;
|
|
|
|
proxy_send_timeout 240;
|
|
|
|
proxy_connect_timeout 240;
|
|
|
|
proxy_hide_header X-Frame-Options;
|
|
|
|
# Basic Proxy Config
|
|
|
|
proxy_set_header Host $host:$server_port;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
proxy_set_header X-Forwarded-Proto https;
|
|
|
|
proxy_redirect http:// $scheme://;
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header Connection "";
|
|
|
|
proxy_no_cache $cookie_session;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
}
|
|
|
|
if ($http_referer ~* /plex/) {
|
|
|
|
rewrite ^/web/(.*) /plex/web/$1? redirect;
|
|
|
|
}
|
|
|
|
|
2020-02-27 15:23:56 +00:00
|
|
|
location /tautulli {
|
2020-02-27 14:05:08 +00:00
|
|
|
auth_request /auth-4;
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN";
|
2020-02-27 20:45:39 +00:00
|
|
|
proxy_pass http://192.168.31.26:8181;
|
2020-02-27 14:05:08 +00:00
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
proxy_set_header X-Forwarded-Host $server_name;
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
}
|
|
|
|
|
|
|
|
location /ombi/ {
|
|
|
|
auth_request /auth-4;
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN";
|
|
|
|
proxy_pass http://127.0.0.1:5000/ombi/;
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection keep-alive;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_cache_bypass $http_upgrade;
|
2020-02-27 17:12:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
location /grafana {
|
|
|
|
auth_request /auth-0;
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN";
|
|
|
|
proxy_pass http://192.168.30.34;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
}
|
|
|
|
|
|
|
|
location /bitwarden {
|
|
|
|
auth_request /auth-0;
|
|
|
|
add_header X-Frame-Options "SAMEORIGIN";
|
|
|
|
proxy_pass http://192.168.30.33:8000;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
2020-02-27 14:05:08 +00:00
|
|
|
}
|