Nginx Proxy Manager need restart

Hello,

I have installed Nextcloud 29.0.6 on my Unraid Server und use nginx proxy manager with duckdns for mobile access. Again and again I have the problem that the Nextcloud app on my iPhone tells me I have no connection to the Nextcloud server. If I restart the Nginx Proxy Manager everything runs again.

Does anyone have any idea what might be wrong here?

This is from my custom nginx configuration:

client_body_buffer_size 512k;
proxy_read_timeout 86400s;
proxy_max_temp_file_size 1024000m;
client_max_body_size 0;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
add_header Front-End-Https on;

location /.well-known/carddav {
    return 301 $scheme://$host/remote.php/dav;
}

location /.well-known/caldav {
    return 301 $scheme://$host/remote.php/dav;
}

location /.well-known/webfinger {
    return 301 $scheme://$host/index.php/.well-known/webfinger;
}

location /.well-known/nodeinfo {
    return 301 $scheme://$host/index.php/.well-known/nodeinfo;
}

How do things behave via the Web UI?

Also, make sure Cache Assets is off in NPM.

In Web UI everything works fine, only the App does not connect.
Cache Asset is already turned off.

Before the next restart-to-fix I would suggest checking the NPM:

  • error logs
  • access logs
  • container logs