Caldav and carddav error resolving

I don’t have a httpd folder in my etc folder like mable but I’m also not running apache. I am running nginx. I tried checking out the ssl.conf for my nginx settings but when I add the extra lines it makes it so that my nginx won’t start or restart.

I tried adding it to etc/nginx/sites-enabled/cloud.jackalope.tech (that’s the name of my cloud server) and restarted but I’m still getting the same caldav related error codes in the web portal