# Using 2 Nextcloudpi instances with reverse proxy (by NGINX Reverse Proxy Manager)

**URL:** <https://help.nextcloud.com/t/using-2-nextcloudpi-instances-with-reverse-proxy-by-nginx-reverse-proxy-manager/217057>\
**Category:** 📄 Office\
**Tags:** letsencrypt, ncp\
**Created:** [February 9, 2025, 1:32pm UTC](https://help.nextcloud.com/t/using-2-nextcloudpi-instances-with-reverse-proxy-by-nginx-reverse-proxy-manager/217057 "2025-02-09T13:32:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![NaXal](https://help.nextcloud.com/letter_avatar/naxal/32/5_5575768a8748004e209b776fc1b2916d.png) [@NaXal](https://help.nextcloud.com/u/NaXal)\
**Post date:** [February 10, 2025, 5:35am UTC](https://help.nextcloud.com/t/using-2-nextcloudpi-instances-with-reverse-proxy-by-nginx-reverse-proxy-manager/217057/5 "2025-02-10T05:35:12Z")

</div>

Hi,

I am no expert here but here are the basics one needs to know,

DNS (whether its for DDNS or TLD) → is to simply tell the browser (Client) which Public IP address to go to.

Reverse Proxy → Once that request arrives at that Public Host, port forwarding will take it to the Reverse proxy, it will check the requesting domain name and forward that request to respective port or (internal) IP address.

At first glance, I am unable to find any fault in theoretical setup of yours. It looks to be ok but I dont know your internal networking (LAN) or how your Pi OS network stack looks like.

> [@ChrisWeb](#):
>
> Do I have to deactivate the automatic signed ssl certificate (see picture from my nextcloudpi)?

Theoretically yes, NPM itself is suppose to terminate SSL but if needed it can further do SSL between itself and your Pi

Here is the configuration I use for deployments that I manage,

 ![001](https://help.nextcloud.com/uploads/default/original/3X/c/2/c2659482d5b83225d44c3b2f776f807e501c6f48.jpeg)  
 ![002](https://help.nextcloud.com/uploads/default/original/3X/6/2/62327af2d7539dde720c5621e851cc445f401104.jpeg)

Here, NPM is accepting and terminating a SSL connection and then connecting to the Nextcloud (Internal LAN) which itself is also running a SSL

> [@ChrisWeb](#):
>
> Do I have to deactivate the no-ip ddns-service in the nextcloud?

Technically speaking, you need the DDNS client at only a single place within your entire LAN. Best practice is to run it at your router itself. If possible, disable it here and run it at router.

As I said before, I dont have access to your network layout, so not sure if this particular thing is actually causing the entire issue.

> [@ChrisWeb](#):
>
> showing that my reverse proxy is listening

This is a wrong config since your nextcloud itself is running a SSL. Unless your nextcloud Pi is running that SSL on Port 80. Your Reverse proxy should be pointing to https with it’s respective port for that Nextcloud Pi.

Refer to my example for hands on…

Check if this solves your issue.

Thanks.

---

_[View the full topic](https://help.nextcloud.com/t/using-2-nextcloudpi-instances-with-reverse-proxy-by-nginx-reverse-proxy-manager/217057)._
