Airsonic & HTTPS Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
deesko
Posts: 2
Joined: Thu Oct 29, 2020 5:49 pm

Airsonic & HTTPS

Post by deesko »

Hello.

Long time user and lurker of the forum, first time poster.

I have a question regarding Airsonic service and HTTPS availability.

I use a RPI4 with dietpi and use it as a cloud storage with NextCloud, using secure access through CertBot/LetsEncrypt.

I have it configured to allow only secure HTTPS access, automatically translating any HTTP request to HTTPS (port 443).

How do I enable AirSonic through the internet, then? Whenever I try to connect through http://servername:8080/airsonic, it keeps trying to translate the request to https and keeps looping forever, never getting into the service. Whenever I use it the lan, everything works as intended.

Another thing... is there any way to change the access port from 8080 to anything other, and also the "/airsonic" part to any other?

Thanks for any help.
User avatar
Joulinar
Posts: 2572
Joined: Sat Nov 16, 2019 12:49 am

Re: Airsonic & HTTPS

Post by Joulinar »

Hi,

many thanks for your message. You can use a revers proxy to enable access to Airsonic over the internet. There are different options depending on your web server https://airsonic.github.io/docs/proxy/prerequisites/
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
deesko
Posts: 2
Joined: Thu Oct 29, 2020 5:49 pm

Re: Airsonic & HTTPS

Post by deesko »

Thanks. Will look into it.
Post Reply