File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 42
42
fastcgi_split_path_info ^/mail(/.*)()$;
43
43
fastcgi_index index.php;
44
44
fastcgi_param SCRIPT_FILENAME /usr/local/lib/roundcubemail/$fastcgi_script_name;
45
+ # ensure roudcube session id's aren't leaked to other parts of the server
46
+ fastcgi_param PHP_VALUE "session.cookie_path=/mail/";
45
47
fastcgi_pass php-fpm;
46
48
47
49
# Outgoing mail also goes through this endpoint, so increase the maximum
Original file line number Diff line number Diff line change @@ -141,8 +141,6 @@ cat > $RCM_CONFIG <<EOF;
141
141
\$ config['login_username_filter'] = 'email';
142
142
\$ config['password_charset'] = 'UTF-8';
143
143
\$ config['junk_mbox'] = 'Spam';
144
- /* ensure roudcube session id's aren't leaked to other parts of the server */
145
- \$ config['session_path'] = '/mail/';
146
144
/* prevent CSRF, requires php 7.3+ */
147
145
\$ config['session_samesite'] = 'Strict';
148
146
\$ config['quota_zero_as_unlimited'] = true;
You can’t perform that action at this time.
0 commit comments