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:
@@ -141,8 +141,6 @@ cat > $RCM_CONFIG <<EOF;
|
||||
\$config['login_username_filter'] = 'email';
|
||||
\$config['password_charset'] = 'UTF-8';
|
||||
\$config['junk_mbox'] = 'Spam';
|
||||
/* ensure roudcube session id's aren't leaked to other parts of the server */
|
||||
\$config['session_path'] = '/mail/';
|
||||
/* prevent CSRF, requires php 7.3+ */
|
||||
\$config['session_samesite'] = 'Strict';
|
||||
\$config['quota_zero_as_unlimited'] = true;
|
||||
|
||||
Reference in New Issue
Block a user