Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Plex Reverse Proxy
- location /plex/ {
- proxy_pass http://127.0.0.1:32400/;
- 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-Ssl on;
- # Websockets
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection "upgrade";
- }
- if ($http_referer ~* /plex/) {
- rewrite ^/web/(.*) /plex/web/$1? redirect;
- }
- # Ombi Requests v2
- # Be sure to set your Base-URL in Ombi v2
- # !! THIS WILL NOT WORK FOR v3 !!
- location /ombi {
- proxy_pass http://127.0.0.1:5000;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- # Tautulli Reverse proxy
- # Be sure to set your Base-URL in Tautulli
- location /tautulli {
- proxy_pass http://127.0.0.1:8181;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-Host $server_name;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto $scheme;
- proxy_set_header X-Forwarded-Ssl on;
- proxy_redirect http:// $scheme://;
- proxy_hide_header X-Frame-Options;
- # TAUTULLI ALLOW API
- location /tautulli/api { auth_request off;
- proxy_pass http://127.0.0.1:8181/tautulli/api;
- }
- # TAUTULLI ALLOW SELFHOSTED NEWLETTER
- location /tautulli/newsletter { auth_request off;
- proxy_pass http://127.0.0.1:8181/tautulli/newsletter;
- }
- # TAUTULLI ALLOW SELFHOSTED IMAGES
- location /tautulli/image { auth_request off;
- proxy_pass http://127.0.0.1:8181/tautulli/image;
- }
- }
- # qBittorrent reverse proxy location block
- location /qbt/ {
- proxy_pass http://127.0.0.1:8080/;
- proxy_set_header X-Forwarded-Host $server_name:$server_port;
- proxy_hide_header Referer;
- proxy_hide_header Origin;
- proxy_set_header Referer '';
- proxy_set_header Origin '';
- add_header X-Frame-Options "SAMEORIGIN"; # see note
- }
- ## Note: For some users, several windows in the Web UI will still be blank, such as when adding a new torrent from a URL/magnet or local file.
- ## If so, try adding the following line to the location block:
- ## add_header X-Frame-Options "SAMEORIGIN";
- # Radarr Reverse Proxy
- # Be sure to set your Base-URL in Radarr
- location /radarr {
- proxy_pass http://127.0.0.1:7878/radarr;
- 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_http_version 1.1;
- proxy_no_cache $cookie_session;
- # Allow the Radarr API through if you enable Auth on the block above
- location /radarr/api { auth_request off;
- proxy_pass http://127.0.0.1:7878/radarr/api;
- }
- }
- # SABNZBD reverse proxy
- location /sabnzbd {
- proxy_pass http://127.0.0.1:8085;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- # Sonarr Reverse Proxy
- # Be sure to set your Base-URL in Sonarr
- location /sonarr {
- proxy_pass http://127.0.0.1:8086/sonarr;
- 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_http_version 1.1;
- proxy_no_cache $cookie_session;
- # Allow the Sonarr API through if you enable Auth on the block above
- location /sonarr/api { auth_request off;
- proxy_pass http://127.0.0.1:8086/sonarr/api;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment