My YunoHost server
Hardware: Laptop
YunoHost version: 11.2.9.1
I have access to my server : Webadmin and SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
Good people one and all,
I have a machine running Yunohost behind a router, and a DNS setup pointing domain.tld and all subdomains to the public IP address. The router is naturllay setup to forward port 80 and 443 to the Yunohost machine. As Yunohost doesn’t have Libretime (which would be great, by the way), I have set up a different computer running only Libretime on the same network.
As is expected, I can’t setup the reverse proxy or certificates on the Libretime computer. The Yunohost computer, as far as I can understand, has to handle certificates and act as reverse proxy. However, I am unable to get this to work.
My understanding is that I have to point requests to radio.domain.tld to the Libretime computer, and that this has to happen by reverse proxying on the Yunohost box. I just can’t wrap my head around how. I have played with the reverse proxy apps on Yunohost with no luck. To be precise, this is what I have done:
- Add radio.domain.tld domain through Yunohost webadmin
- Install Let’s encrypt certificate on subdomain
- Install either reverse proxy or redirect apps on the subdomain
- Add LOCAL_LIBRETIME_IP:8080 as redirect/reverse proxy target
The result is one of two:
- 502 error message (bad gateway) when using reverse proxy
- Redirect to Yunohost SSO page when using redirect
I don’t expect any input, but certainly welcome it. Let me also use this opportunity to thank the developers for a wonderful project.
Edit: Thanks to @OniriCorpe for the IPv6 suggestion. I’ll try that!