Closed coffseducation closed 1 month ago
Run a curl command and try to hit caldav
endpoint and see if the redirect is happening
Run a curl command and try to hit
caldav
endpoint and see if the redirect is happening
Thanks very much for the reply! I am not sure if I am doing it right but here is what I get:
╭─anarcho@Vampa in ~ via △ v3.30.0 via via took 10ms
╰─λ curl -I http://89.40.1.227/well-known/caldav
HTTP/1.1 404 Not Found
Server: nginx
Date: Mon, 22 Jul 2024 00:58:48 GMT
Content-Type: text/html
Content-Length: 2401
Connection: keep-alive
ETag: "6649f9fd-961"
╭─anarcho@Vampa in ~ via △ v3.30.0 via via took 958ms
╰─λ curl -I https://nextcloud.console.barkingbandicoot.academy/well-known/caldav
HTTP/2 404
server: nginx
date: Mon, 22 Jul 2024 01:01:22 GMT
content-type: text/html; charset=UTF-8
content-length: 4675
referrer-policy: no-referrer
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
x-powered-by: PHP/8.2.21
set-cookie: oc7w78gkmdm7=6969904649969ce08a7f708a1cd4c690; path=/; secure; HttpOnly; SameSite=Lax
expires: Thu, 19 Nov 1981 08:52:00 GMT
cache-control: no-cache, no-store, must-revalidate
pragma: no-cache
set-cookie: oc_sessionPassphrase=dBISeGoZkXifYu%2FEfiF6h%2FQDN3OBQnNigAR4NhV%2F17zEpRtOVudAy1EyMZOt7MxnShA9IGjHQLQUNZnr%2BS2XpvLtuXZoOjt3Ip6iw%2FklGCfjmn56FOlXIdpBh4mowyuD; path=/; secure; HttpOnly; SameSite=Lax
set-cookie: oc7w78gkmdm7=6969904649969ce08a7f708a1cd4c690; path=/; secure; HttpOnly; SameSite=Lax
content-security-policy: default-src 'none';base-uri 'none';manifest-src 'self';script-src 'nonce-dHU2NkNua2VoYmswTVRta2piVG9ESWZkbXoyMTQxb05aeWZEeW8ranVWbz06eGJmeFp4NXQ2OTUrYTFYVng4SEhhOTYwM2tUYTFUSStFSFMwakw3VmtoRT0=' blob:;script-src-elem 'strict-dynamic' 'nonce-dHU2NkNua2VoYmswTVRta2piVG9ESWZkbXoyMTQxb05aeWZEeW8ranVWbz06eGJmeFp4NXQ2OTUrYTFYVng4SEhhOTYwM2tUYTFUSStFSFMwakw3VmtoRT0=' blob:;style-src 'self' 'unsafe-inline';img-src 'self' data: blob: https://*.tile.openstreetmap.org;font-src 'self' data:;connect-src 'self' blob: stun.nextcloud.com:443;media-src 'self' blob:;frame-src 'self';child-src blob: 'self';frame-ancestors 'self';worker-src blob: 'self';form-action 'self'
set-cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
set-cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
set-cookie: oc7w78gkmdm7=6969904649969ce08a7f708a1cd4c690; path=/; secure; HttpOnly; SameSite=Lax
x-request-id: xFpI3rUW9dMZrRS75oom
feature-policy: autoplay 'self';camera 'self';fullscreen 'self';geolocation 'none';microphone 'self';payment 'none'
strict-transport-security: max-age=15552000; includeSubDomains
It's .well-known
not well-known
- if you use the correct URL, you'll see that the redirect is being handled correctly:
~ curl -I https://nextcloud.console.barkingbandicoot.academy/.well-known/carddav
HTTP/2 301
server: nginx
date: Mon, 22 Jul 2024 01:36:07 GMT
content-type: text/html
content-length: 162
location: https://nextcloud.console.barkingbandicoot.academy:443/remote.php/dav
So your nginx configurations are right. You just need to follow up with NextCloud support to see what the problem is.
So your nginx configurations are right. You just need to follow up with NextCloud support to see what the problem is.
Ok, thanks for your assistance Kasra! 🙏
Nextcloud Admin - Overview Security & setup warnings
There are some warnings regarding your setup.
I cannot seem to resolve this. I followed this Caprover thread where this issue was resolved but it is not working for me!
Perhaps I missed something? Perhaps the config now needs changing?
Why also is the error only for caldav but not for cardav??
Here is my code: