HOWTO: CalDAV+CardDAV-iRony-Subdomain NGINX

This blog article is outdated. It was written for Kolab 3.2. Please don't use it.

Apple Clients work best if you create a virtual host for them.

In CentOS create the file /etc/nginx/conf.d/

server {
    listen                      443 ssl;
    server_name       ;

location /
    client_max_body_size 30M; # set maximum upload size
    # Make Apple and happy:
    rewrite ^/.well-known/caldav / last;
    rewrite ^/.well-known/carddav / last;
    include fastcgi_params;
    fastcgi_index index.php;
        fastcgi_pass unix:/var/run/php-fpm/kolab.example.org_iRony.sock;
    fastcgi_param SCRIPT_FILENAME /usr/share/iRony/public_html/index.php;


Edit /usr/share/iRony/config/ or /etc/iRony/


// Log DAV requests to <log_dir>/davdebug
$config['base_uri'] = '/';

Restart nginx and choose try manual setup in your Apple Calendar with your virtual host

Comments !