0

hello I tried to paste the code below into the "Advanced" section unfortunately the link is down every time what am I doing wrong?

server {
    listen 443 ssl;
    server_name <your-caldav-domain>;
    root <your-roundcube-directory>/plugins/xcalendar/caldav;
    index index.php;

    location / {
        rewrite ^/\.well-known/caldav.*$ /index.php/ redirect;

        if (!-e $request_filename){
            rewrite ^(.*)$ /index.php/$1 break;
        }

        fastcgi_pass unix:/var/run/php/php-fpm.sock;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param REQUEST_URI $request_uri;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }

    location ~ /\.ht {
        deny all;
    }
}

i have not found anything specific on the internet about how to configure the nginx.conf per subdomain

atakan
  • 1
  • 2
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Feb 26 '23 at 03:49

0 Answers0