Hello there.
I've Roundcube installed under /webmail folder in my server. I use nginx + php-fpm 8.0, I'd like to ask what would the best and optimal "location /webmail" be for Roundcube?
There're many different implementations like optimizing fastcgi_buffer_size 16k, fastcgi_buffers 4 16k and so on, like;
location /webmail {
alias /var/www/roundcube;
location ~* \.php$ {
try_files $uri =404;
fastcgi_pass unix:run/php-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param HTTP_PROXY "";
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_buffer_size 16k;
fastcgi_buffers 4 16k;
}
}
and some suggests having these for Roundcube;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_buffer_size 256k;
fastcgi_buffers 4 256k;
fastcgi_temp_file_write_size 256k;
fastcgi_intercept_errors off;
Are all these parameters truly for a better Roundcube service? So in order to get a smooth run for Roundcube on such server, what directives for the above block would you suggest?
Many thanks!
I think 16k or 256k not big difference for server. But same time I think for buffer better more memory.
so 256 will be better than 16