Nextcloud, nginx proxy manager, cloudflare and proxmox access?!

Hello, i have an issue.
I have a server with proxmox installed and running there some VMs and some CTs. I hvae everywhere static IPs set up and the main modem has an static public ip with open port 81, 80, 443 to the Nginx proxy manager, which is installed on the same machine–>proxmox VE.

I have a registered domain (rubin2.net) and use cloudflare to set my dns settings. All my services (proxmox, NPM, sumatrapdf, home assistant, web torrent, uptimekuma etc.) everything has its subdomain and its reacheble from the web. But i cant setup a subdomain in the proxy manager. And i cant access nextcloud via my domain “oblak.rubin2.net”. The domain and all ips are added in the config file in the section “trusted domains”. But still no luck. I tried to change the CNAME and A records in Cloudflare but its not working. What am i doing wrong, why i cant access nextcloud from the web-externaly?

Hope someone can help me.

There are some SS.

I’m running a very similar setup:

  • Proxmox
  • VM with Ubuntu Server 24.04
  • Nextcloud AIO (Docker-based)
  • NGINX Proxy Manager on a separate server in the LAN

My Experience with Cloudflare

Unfortunately, my experience with Cloudflare as a DNS proxy has been negative.
Here’s why:

  • Problems syncing larger files
  • Frequent interruptions and failed transfers
  • Cloudflare limitations (timeouts, filtering, etc.)

Because of this, I decided to stop using Cloudflare for DNS and moved DNS management back to my domain registrar with direct A records pointing to my public IP.


Benefits of This Approach

  • Reliable file synchronization
  • No issues with large files
  • Simplified port forwarding, especially for services like Nextcloud Talk (which requires ports like 3478 for STUN/TURN)

If you’re planning to use Talk, Cloudflare will likely cause further complications when routing the necessary ports.


Working Configuration Example

You can check out my full docker-compose.yml and NGINX Proxy Manager setup here:
:link: [Solved] Docker based NextCloud AiO with nginx on separate Ubuntu VM - not working - #6 by vawaver


Let me know if you’d like to compare configurations or need help with specific parts.