Let's Encrypt + ReverseProxy to the apps (Sonarr, Couchpotato, Plex etc.)


#1

Hey guys,
I successfully setup my server with let’s encrypt as described here:
https://plaza.quickbox.io/t/install-lets-encrypt-on-your-seedbox/99

I really want to set up a reverse proxy to sonarr using the apache webserver. Basically what i wanna do is the following:

https://domain.com/sonarr -> http://domain.com:8989

I have to add these lines in the apache2 configuration, I guess:

ProxyPass /sonarr http://localhost:8989/sonarr
ProxyPassReverse /sonarr http://localhost:8989/sonarr

When I realod the apache2 service i can now access https://domain.com/sonarr, but it is only showing a white page saying: “Sonar Ver.”

I would be thankful for tipps. Furthermore I think the reverse proxy should be setup automatically.


#2

Funny you should mention that…

calling @liara

I didnt prompt @crazy…I swear.


#3

@Liara has put in some extra effort to make this all work and having it as part of the release. She’s close. There are a couple of apps that are being stubborn and wont work well in the reverse proxy. I’ve been playing around with them to see if I can get them to work.


#4

Fantastic news :slight_smile: do you have a tip for me how i can make this work for now :slight_smile:


#5

You have to add the URL base to the sonarr configuration. Also iirc sonarr was very picky and requires a trailing slash on the endpoint host.com/sonarr/


#6

Worked perfectly. Can’t believe it was as simple as that. I actually adjusted the Base URL in Sonarr - like you already guessed it was just the missing slash. Crazy…

Can you tell me which file I have to modify to set the link in the quickbox dashboard accordingly?


#7

You can edit the file /srv/rutorrent/home/inc/config.php

Problem : the file gets overwritten every time you run the quickbox updater from the homepage.
I have the same issue with deluge, don’t know what the solution to this problem could be.


#8

I’m currently considering adding reverse proxies for deluge web to the panel as well as the other proxies lined up. I’ve been rather busy with real life work trying to pay the bills past few days and haven’t had much time to devote to the project, but I should have some time soon.


#9

Don’t worry. quickbox is sooo awesome. Real life always comes first :slight_smile: