Steht hier in Service Discovery als erstes drinhttps://docs.nextcloud.com/server/latest/admin_manual/configuration_server/reverse_proxy_configuration.html#defining-trusted-proxies
$ curl -v https://**********/.well-known/carddav* Host **********:443 was resolved.* [HTTP/2] [1] OPENED stream for https://**********/.well-known/carddav< HTTP/2 301 < alt-svc: h3=":443"; ma=2592000< content-type: text/html< date: Mon, 24 Jun 2024 10:17:49 GMT< location: http://**********/remote.php/dav/< referrer-policy: no-referrer< server: Caddy< server: nginx< strict-transport-security: max-age=15768000; includeSubDomains; preload< x-content-type-options: nosniff< x-frame-options: SAMEORIGIN< x-permitted-cross-domain-policies: none< x-robots-tag: noindex, nofollow< x-xss-protection: 1; mode=block< content-length: 162< <html><head><title>301 Moved Permanently</title></head><body><center><h1>301 Moved Permanently</h1></center><hr><center>nginx</center></body></html>* Connection #0 to host ********** left intact
Halte ich für Quatsch:Code: [Select]$ curl -v https://**********/.well-known/carddav* Host **********:443 was resolved.* [HTTP/2] [1] OPENED stream for https://**********/.well-known/carddav< HTTP/2 301 < alt-svc: h3=":443"; ma=2592000< content-type: text/html< date: Mon, 24 Jun 2024 10:17:49 GMT< location: http://**********/remote.php/dav/< referrer-policy: no-referrer< server: Caddy< server: nginx< strict-transport-security: max-age=15768000; includeSubDomains; preload< x-content-type-options: nosniff< x-frame-options: SAMEORIGIN< x-permitted-cross-domain-policies: none< x-robots-tag: noindex, nofollow< x-xss-protection: 1; mode=block< content-length: 162< <html><head><title>301 Moved Permanently</title></head><body><center><h1>301 Moved Permanently</h1></center><hr><center>nginx</center></body></html>* Connection #0 to host ********** left intact
curl -v https://ncloud.example.com/.well-known/carddav* Host ncloud.example.com:443 was resolved.* IPv6: (none)* IPv4: 192.168.1.1* Trying 192.168.1.1:443...* Connected to ncloud.example.com (192.168.1.1) port 443* ALPN: curl offers h2,http/1.1* TLSv1.3 (OUT), TLS handshake, Client hello (1):* CAfile: /etc/ssl/certs/ca-certificates.crt* CApath: /etc/ssl/certs* TLSv1.3 (IN), TLS handshake, Server hello (2):* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):* TLSv1.3 (IN), TLS handshake, Certificate (11):* TLSv1.3 (IN), TLS handshake, CERT verify (15):* TLSv1.3 (IN), TLS handshake, Finished (20):* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):* TLSv1.3 (OUT), TLS handshake, Finished (20):* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256 / x25519 / id-ecPublicKey* ALPN: server accepted h2* Server certificate:* subject: CN=*.example.com* start date: Jun 21 13:40:44 2024 GMT* expire date: Sep 19 13:40:43 2024 GMT* subjectAltName: host "ncloud.example.com" matched cert's "*.example.com"* issuer: C=US; O=Let's Encrypt; CN=E5* SSL certificate verify ok.* Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA384* Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using sha256WithRSAEncryption* Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):* using HTTP/2* [HTTP/2] [1] OPENED stream for https://ncloud.example.com/.well-known/carddav* [HTTP/2] [1] [:method: GET]* [HTTP/2] [1] [:scheme: https]* [HTTP/2] [1] [:authority: ncloud.example.com]* [HTTP/2] [1] [:path: /.well-known/carddav]* [HTTP/2] [1] [user-agent: curl/8.8.0]* [HTTP/2] [1] [accept: */*]> GET /.well-known/carddav HTTP/2> Host: ncloud.example.com> User-Agent: curl/8.8.0> Accept: */*> * Request completely sent off< HTTP/2 301 < alt-svc: h3=":443"; ma=2592000< content-type: text/html; charset=iso-8859-1< date: Mon, 24 Jun 2024 11:08:10 GMT< location: http://ncloud.example.com/remote.php/dav/< referrer-policy: no-referrer< server: Caddy< server: Apache/2.4.59 (Debian)< strict-transport-security: max-age=15768000; includeSubDomains; preload< x-content-type-options: nosniff< x-frame-options: SAMEORIGIN< x-permitted-cross-domain-policies: none< x-robots-tag: noindex, nofollow< x-xss-protection: 1; mode=block< content-length: 335< <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>301 Moved Permanently</title></head><body><h1>Moved Permanently</h1><p>The document has moved <a href="http://ncloud.example.com/remote.php/dav/">here</a>.</p><hr><address>Apache/2.4.59 (Debian) Server at ncloud.example.com Port 80</address></body></html>* Connection #0 to host ncloud.example.com left intact
< HTTP/2 301 < alt-svc: h3=":443"; ma=2592000< content-type: text/html< date: Mon, 24 Jun 2024 19:04:57 GMT< location: http://*********/remote.php/dav/< referrer-policy: no-referrer< server: Caddy< server: nginx< strict-transport-security: max-age=15768000; includeSubDomains; preload< x-content-type-options: nosniff< x-frame-options: SAMEORIGIN< x-permitted-cross-domain-policies: none< x-robots-tag: noindex, nofollow< x-xss-protection: 1; mode=block< content-length: 162
< HTTP/2 301 < alt-svc: h3=":443"; ma=2592000< content-type: text/html< date: Mon, 24 Jun 2024 19:07:41 GMT< location: http://*********/remote.php/dav/< referrer-policy: no-referrer< server: Caddy< server: nginx< strict-transport-security: max-age=15768000; includeSubDomains; preload< x-content-type-options: nosniff< x-frame-options: SAMEORIGIN< x-permitted-cross-domain-policies: none< x-robots-tag: noindex, nofollow< x-xss-protection: 1; mode=block< content-length: 162
"error","ts":"2024-06-25T06:53:33Z","logger":"http.log.access.37fc6c8b-42c2-41e0-baba-c38516660295","msg":"handled request","request":{"remote_ip":"100.65.0.10","remote_port":"47471","client_ip":"100.65.0.10","proto":"HTTP/1.1","method":"PROPFIND","host":"ncloud.example.com","uri":"/remote.php/dav/files/odin/","headers":{"Cookie":["REDACTED"],"Content-Length":["107"],"Content-Type":["text/xml; charset=UTF-8"],"Depth":["0"],"Authorization":["REDACTED"],"User-Agent":["Mozilla/5.0 (Android) Nextcloud-android/3.29.0"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"","server_name":"ncloud.example.com"}},"bytes_read":0,"user_id":"","duration":3.001101121,"size":0,"status":502,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000"]}}