Reverse proxy to the console

Posted:
Wed Mar 17, 2021 10:21 am
by Jamuna
Hello
I am trying to reverse-proxy the Serviio console (in Caddy).
Proxying to 'ip:port' and going to 'serviio.proxy/console' works fine.
Proxying to 'ip:port/console/' appends another console to make it 'serviio.proxy/console' and returns empty XML
https://speedtest.vet/ https://vidmate.bid/.
Proxying to 'ip:port' and adding 'redirect / /console/' get stuck in an endless loop of appending 1console' to make 'serviio.proxy/console/console/console/console/console...'
Any thoughts?
Re: Reverse proxy to the console

Posted:
Thu Mar 25, 2021 12:46 am
by cmakula
I use IIS/URLRewrite as a reverse proxy for certificate authority, so I know that it works. It has to be an issue with your config of Caddy. I know URLRewrite has this issue if the web.config attached to it does not parse the destination URL correctly.
Re: Reverse proxy to the console

Posted:
Mon Mar 20, 2023 5:43 pm
by beatsclo
The Caddy problem with reverse proxy has often occurred to me before. But I thought it was the virtual machine I created.
Re: Reverse proxy to the console

Posted:
Mon Mar 20, 2023 5:50 pm
by consejosatisfy
I had a similar error when I used a reverse proxy server. But it was because I accidentally used different servers on the main device and on the virtual machine. To avoid such a forwarding problem, make sure that the main console is connected. Although everything in Caddy can be perceived as a single server automatically, this doesn't always happen. By the way, the first commentator is right about web.config, which can break your entire proxy transition. My current proxy list works fine, but I stopped using Caddy altogether. Serviio has more convenient pieces.
Re: Reverse proxy to the console

Posted:
Thu Aug 15, 2024 12:45 pm
by SsCoobyDoO
To address your issue with the endless loop when using Caddy as a reverse proxy, it might help to double-check how your proxy configuration handles URL paths. The issue you're seeing could stem from how Caddy interprets and forwards requests, especially when it's dealing with appended paths like "/console/". One approach could be experimenting with the specific directives or even considering alternative solutions. Some users have found success by using
rotating residential proxies for better management and control over their server connections. This might give you more stability in your setup.
Re: Reverse proxy to the console

Posted:
Thu Aug 22, 2024 6:42 am
by SsCoobyDoO
Setting up a reverse proxy to your console can be tricky, but it's worth it for the added control and security. From my experience, it's all about choosing the right tool for the job. If you're looking for something reliable and easy to manage, you might want to check out
lightningproxies.net . They offer solid options that could simplify things for you. Just follow their setup guide closely and test everything to ensure it's working as expected.