How to Configure NGINX Reverse Proxy Server for NextcloudPi?
I have an existing Nextcloud installation (courtesy of NextcloudPi) that’s been up and running on my RasPi for well over a year now. It has the full LetsEncrypt/SSL setup installed and all works great. Now I want to add another pi-based website to the mix, using a 3rd Pi as an NGINX-based reverse proxy server. My question is how do I handle the HTTPS stuff for the NCP installation? Connecting it directly to the reverse proxy server using a simple proxy_pass didn’t work – do I need to set up a new LetEncrypt certificate for the RP server, and if so, will that be compatible with the existing NCP certificate? I’m a bit of a noob at proxying, and am not quite sure how to proceed. Any insight would be appreciated.
Many thanks in advance!
|distribution||Raspbian GNU/Linux 9 \n \l|
|USB devices||sda sdb|
|data in SD||no|
|data disk usage||23G/58G|
|port check 80||open|
|port check 443||open|