Nginx and nextcloud issue - Can't access correctly

Hello, I am not able to configure the access to my nextcloud instance with NPM. Here are the data I could collect:

  • Nextcloud Server version (e.g., 29.x.x):
    v1.55.3 (NextcloudPi_lxc_02-14-25)
  • Operating system and version (e.g., Ubuntu 24.04):
    Debian GNU/Linux 12. 6.8.12-5-pve (x86_64)
  • Web server and version (e.g, Apache 2.4.25):
    Server version: Apache/2.4.62 (Debian)
    Server built: 2024-10-04T15:21:08
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    nginx version: openresty/1.25.3.1
  • PHP version (e.g, 8.3):
    8.3
  • Is this the first time you’ve seen this error? (Yes / No):
    No
  • When did this problem seem to first start?
    As long as I created the lxc
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    Script from Proxmox VE Helper-Scripts
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    Yes, Cloudflare

Summary of the issue you are facing:

I am trying to follow all-in-one/reverse-proxy.md at main · nextcloud/all-in-one · GitHub and then NGINX configuration — Nextcloud latest Administration Manual latest documentation
to setup my nextcloud installation with my nginx proxy manager through NPM (not skilled enough to modify it via terminal) and I am having some issue with ssl.

I created my proxy host, directed to my internal ip (https://192.168.0.222:443) then connected it to my domain (next.casamicasa.es) with a cloudflare DNS challenge, all of it with success, but then something is happening with https; most of the times I receive an “ERR_TOO_MANY_REDIRECTS” fail which I assume is because https->https doesn’t work fine, but don’t know how to solve it; I finally disabled force ssh and it let me go to my installation but something doesn’t work fine; if I try to use davx5 to sync my android contacts/calendar I always get:

at.bitfire.dav4jm.exception.httpException: HTTP 301 Moved Permanently

Log entries

I can’t paste log because I don’t get them (maybe I don’t even reach the server?)


Hope you can help me, please ask for all you need.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.