root {{ roundcube_dir }}/public_html; index index.php; disable_symlinks off; location ~ /\. { deny all; } location ~ \.php$ { include /etc/nginx/fastcgi.conf; fastcgi_pass unix:{{ roundcube_fpm_socket }}; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; }