So I've got a Server set up at my home with a Nextcloud and some other instances.
Since my ISP isn't reliable and sometimes down, I want my vserver to proxy connections if my home server is online.
Is there a way to do this via nginx? I want my DNS to point on my vserver, which is "always" online and nginx to check on request if my home server is responding/online and proxy requests trough.
If the homesever is offline I want the vserver to display a custom error page.
Thanks for your help!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…