mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-03 00:07:05 +00:00
Merge dbb9cb7e33
into 3efd4257b5
This commit is contained in:
commit
6eed9817fc
@ -42,6 +42,8 @@
|
|||||||
fastcgi_split_path_info ^/mail(/.*)()$;
|
fastcgi_split_path_info ^/mail(/.*)()$;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_param SCRIPT_FILENAME /usr/local/lib/roundcubemail/$fastcgi_script_name;
|
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;
|
fastcgi_pass php-fpm;
|
||||||
|
|
||||||
# Outgoing mail also goes through this endpoint, so increase the maximum
|
# Outgoing mail also goes through this endpoint, so increase the maximum
|
||||||
|
@ -141,8 +141,6 @@ cat > $RCM_CONFIG <<EOF;
|
|||||||
\$config['login_username_filter'] = 'email';
|
\$config['login_username_filter'] = 'email';
|
||||||
\$config['password_charset'] = 'UTF-8';
|
\$config['password_charset'] = 'UTF-8';
|
||||||
\$config['junk_mbox'] = 'Spam';
|
\$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+ */
|
/* prevent CSRF, requires php 7.3+ */
|
||||||
\$config['session_samesite'] = 'Strict';
|
\$config['session_samesite'] = 'Strict';
|
||||||
\$config['quota_zero_as_unlimited'] = true;
|
\$config['quota_zero_as_unlimited'] = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user