Hello all.
I had until now a server on a synology NAS with many services and a domain xxx.synology.me.
I just finish set up yunohost on a VM on my new freebox and configured everything with a new personal domain name (lets say perso.com). Of course I had to change the port redirection 80 and 443 to this VM and update the certificate.
I have difficulties understand if I can use a reverse proxy to keep my previous xxx.synology.me domain pointing to my nas via yunohost.
Should I have both domain (perso.com and xxx.synology.me) in yunohost? how configure the reverse proxy app of yunohost?
After that, i’ll have to manage the certificate letsencrypt also no?
Thank for your help!
Yes. You need to add both domains on Yunohost.
This domain have to bee linked (DNS configuration) to your IP public adress of your freebox.
When you install reverse proxy app on Yunohost, you choose as domain by default for this app xxx.synology.me, reverse proxy as type of redirection and as goal, the local IP adress of your synology (192.168.0.X), adding the port if it’s different from 80.
You need to allow visitors if you want to allow a public acess from internet for this redirection to the Synology, or “yunohost users” if you want to protect the acess via the Yunohost SSO (screen login).
Thank you for you answer.
It works for the access to the DSM with “/” as the url path after the domain (third field) and https://192.168.1.X as the destination. However I have a certificat issue then: Emitted for …synology.me; (O) not in the certificat. Emitted by perso.com ; (O) perso.
Also, I had reverse proxy on the syno with adresses such as jellyfin.perso.synology.me. All those addresses now return to the admin panel of yunohost (probably normal). Is there a way to avoid defining a reverse proxy for each of the adresses in yunohost? it it possible to “reverse proxy to reverse proxy”?
All that will be temporary of course, the idea being to switch tthe services to the new domain, but meanwhile, it will help me make the transition more smoothly.
Thank again for your support!
Ok, I don’t think it is actually a good idea to try to run yunohost on my freebox (in a VM). Just intalling Piped take ages… I thought, as it has similar spec a my synology NAS, that it would be ok… but no. Time to buy a real server I guess.