diff --git a/webmails/nginx-webmail.conf b/webmails/nginx-webmail.conf index 37672ab1..1794a635 100644 --- a/webmails/nginx-webmail.conf +++ b/webmails/nginx-webmail.conf @@ -55,11 +55,7 @@ server { deny all; } - location ~* ^/(config|temp|logs) { - deny all; - } - - location ^~ /data { + location ~* /(config|temp|logs|data) { deny all; } diff --git a/webmails/snappymail/defaults/application.ini b/webmails/snappymail/defaults/application.ini index 71a19f35..85c8c7c6 100644 --- a/webmails/snappymail/defaults/application.ini +++ b/webmails/snappymail/defaults/application.ini @@ -5,6 +5,7 @@ attachment_size_limit = {{ MAX_FILESIZE }} [security] allow_admin_panel = Off +openpgp = On [labs] allow_gravatar = Off @@ -21,3 +22,13 @@ allow_sync = On [defaults] contacts_autosave = On + +[cache] +fast_cache_driver = "APCU" + +[imap] +use_move = On + +[labs] +image_exif_auto_rotate = On +try_to_detect_hidden_images = On