Question about Nginx Proxy Manager behind Nextcloud Hub 25 32.0.6

Hello everyone,

I performed a fresh installation using the LAMP stack on an Ubuntu 24.04.4 LTS system. I’m using Nginx Proxy Manager as my proxy.

Currently, Nextcloud is accessible via HTTP, and the nginx proxy manager provides the certificate. The Nextcloud URL is http://10.10.110.1 and the URL via the reverse proxy is https://cloud.example.com

Is this recommended, or would it make more sense to issue an additional certificate to Nextcloud itself, make it accessible via HTTPS, and use the proxy in front of that?

What are the correct settings in the custom Nginx configuration for Nextcloud?

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.6
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu24.04.4 LTS
  • Web server and version (e.g, Apache 2.4.25):
    • Apache/2.4.58
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • NgingX Proxy Managerv2.13.7
  • PHP version (e.g, 8.3):
    • 8.3
  • Is this the first time you’ve seen this error? (Yes / No):
    • replace me
  • When did this problem seem to first start?
    • replace me
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Proxmox VM Ubuntu 24.04.4 LTS LAMP STACK
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No