I have Nextcloud-all-in-one installed as a docker image on one machine, running Debian. And I have Apache, serving a public web site (mydomain.dk), running on another machine on the same, local network. Following the guidelines here (all-in-one/reverse-proxy.md at main · nextcloud/all-in-one · GitHub), I’ve tried to setup the public web server as a reverse proxy for the Nextcloud server.
But I’m a little bit confused about this note:
“If you need HTTPS between Nextcloud and the reverse proxy because it is running on a different server in the same network, simply add another reverse proxy to the chain that runs on the same server like AIO and takes care of HTTPS proxying (most likely via self-signed certificates). Another option would be to create a VPN between the server that runs AIO and the server that runs the reverse proxy which takes care of encrypting the connection.”
How do I “simply add another reverse proxy”?