Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name descargame.local 192.168.1.35;
- root /var/www/html;
- charset UTF-8;
- proxy_cache off;
- location / {
- try_files $uri $uri/ =404;
- }
- location /monit/ {
- rewrite ^/monit/(.*) /$1 break;
- proxy_ignore_client_abort on;
- proxy_pass http://127.0.0.1:2812/;
- proxy_set_header Host $host;
- proxy_cache off;
- allow all;
- }
- location /radarr {
- proxy_pass http://127.0.0.1:7878;
- 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_cache off;
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection $http_connection;
- }
- location /sonarr {
- proxy_pass http://127.0.0.1:8989;
- 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_cache off;
- }
- location /lidarr {
- proxy_pass http://127.0.0.1:8686;
- 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_cache off;
- }
- location /readarr {
- proxy_pass http://127.0.0.1:8787;
- 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_cache off;
- }
- location /bazarr {
- proxy_pass http://127.0.0.1:6767;
- 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_cache off;
- }
- location /ombi/ {
- proxy_pass http://127.0.0.1:5000;
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-Host $server_name;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Ssl on;
- proxy_set_header X-Forwarded-Proto $scheme;
- proxy_read_timeout 90;
- proxy_redirect http://127.0.0.1:5000 https://$host;
- proxy_cache off;
- }
- location /jackett {
- proxy_pass http://127.0.0.1:9117;
- 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;
- proxy_cache off;
- }
- location /transmission {
- proxy_pass http://127.0.0.1:9091;
- 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_cache off;
- allow all;
- }
- location /jellyfin {
- return 302 $scheme://$host/jellyfin/;
- }
- location /jellyfin/ {
- # Proxy main Jellyfin traffic
- # The / at the end is significant.
- # https://www.acunetix.com/blog/articles/a-fresh-look-on-reverse-proxy-related-attacks/
- proxy_pass http://127.0.0.1:8096/;
- proxy_redirect default;
- proxy_redirect / /jellyfin/;
- proxy_pass_request_headers on;
- 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_set_header Upgrade $http_upgrade;
- proxy_set_header Connection $http_connection;
- # Disable buffering when the nginx proxy gets very resource heavy upon streaming
- proxy_buffering off;
- }
- }
Add Comment
Please, Sign In to add comment