Skip to content

Instantly share code, notes, and snippets.

@ctrlaltdylan
Last active January 19, 2024 02:05
Show Gist options
  • Save ctrlaltdylan/fe80e3b9a24ddd6abc45347a4cfa9eeb to your computer and use it in GitHub Desktop.
Save ctrlaltdylan/fe80e3b9a24ddd6abc45347a4cfa9eeb to your computer and use it in GitHub Desktop.
Reverse proxy for Radarr, Sonarr, Deluge && Jackett for pretty URLs instead of ports (store in /etc/nginx/default.conf)
server {
location /sonarr {
proxy_pass http://localhost:8989/sonarr;
}
location /radarr {
proxy_pass http://localhost:7878/radarr;
}
location /jackett {
proxy_pass http://localhost:9117;
}
location /torrent {
proxy_pass http://localhost:8112/torrent;
}
location /deluge {
proxy_pass http://localhost:8112/;
proxy_set_header X-Deluge-Base "/deluge/";
include proxy-control.conf;
add_header X-Frame-Options SAMEORIGIN;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment