mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-04-03 21:47:22 +02:00
Move session.cookie_path variable for Roundcube to Nginx config
This preserves the security of the default configuration while allowing greater flexibility for advanced configurations
This commit is contained in:
@@ -42,6 +42,8 @@
|
||||
fastcgi_split_path_info ^/mail(/.*)()$;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME /usr/local/lib/roundcubemail/$fastcgi_script_name;
|
||||
# ensure roudcube session id's aren't leaked to other parts of the server
|
||||
fastcgi_param PHP_VALUE "session.cookie_path=/mail/";
|
||||
fastcgi_pass php-fpm;
|
||||
|
||||
# Outgoing mail also goes through this endpoint, so increase the maximum
|
||||
|
||||
Reference in New Issue
Block a user