diff --git a/includes/organizr-conf/custom/organizr.conf b/includes/organizr-conf/custom/organizr.conf index 6e209b03..9ba8569b 100644 --- a/includes/organizr-conf/custom/organizr.conf +++ b/includes/organizr-conf/custom/organizr.conf @@ -20,25 +20,7 @@ location / { location /transmission/ { auth_request /auth-0; add_header X-Frame-Options "SAMEORIGIN"; - proxy_pass https://192.168.30.29: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; - } - -location /nzbget/ { - auth_request /auth-0; - add_header X-Frame-Options "SAMEORIGIN"; - proxy_pass https://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 https://127.0.0.1:5075/nzbhydra/; + proxy_pass http://192.168.31.22: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; @@ -66,7 +48,7 @@ location /radarr/ { location /lidarr/ { auth_request /auth-0; add_header X-Frame-Options "SAMEORIGIN"; - proxy_pass http://192.168.31.25:7878; + proxy_pass http://192.168.31.25: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; diff --git a/install/transmission.sh b/install/transmission.sh new file mode 100644 index 00000000..9c27cc65 --- /dev/null +++ b/install/transmission.sh @@ -0,0 +1,13 @@ +echo '{"pkgs":["bash","unzip","unrar","transmission","ca_root_nss","nano"]}' > /tmp/pkg.json +iocage create -n "transmission" -p /tmp/pkg.json -r 11.3-RELEASE interfaces="vnet0:bridge31" ip4_addr="vnet0|192.168.31.22/24" defaultrouter="192.168.31.1" vnet="on" allow_raw_sockets="1" boot="on" +rm /tmp/pkg.json +iocage exec transmission mkdir -p /config +iocage exec transmission mkdir -p /mnt/downloads +iocage fstab -a transmission /mnt/tank/apps/transmission /config nullfs rw 0 0 +iocage fstab -a transmission /mnt/tank/downloads /mnt/downloads nullfs rw 0 0 +iocage exec transmission mkdir -p /config +iocage exec transmission chown -R transmission:transmission /config +iocage exec transmission sysrc "transmission_enable=YES" +iocage exec transmission sysrc "transmission_conf_dir=/confige" +iocage exec transmission sysrc "transmission_download_dir=/mnt/downloads/complete" +iocage exec transmission service transmission start \ No newline at end of file