Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
chore(backend:configuration): set mail setting rejectUnauthorized default to false
johaven7a3b499e7847
diff --git a/backend/src/infrastructure/mailer/mailer.config.ts b/backend/src/infrastructure/mailer/mailer.config.tsindex e9ca878e..13a06454 100644--- a/backend/src/infrastructure/mailer/mailer.config.ts+++ b/backend/src/infrastructure/mailer/mailer.config.ts@@ -37,7 +37,7 @@ export class MailerConfig {@IsOptional()@IsBoolean()- rejectUnauthorized?: boolean = true+ rejectUnauthorized?: boolean = false@IsOptional()@IsObject()diff --git a/environment/environment.dist.yaml b/environment/environment.dist.yamlindex 82d06fea..4af46df1 100755--- a/environment/environment.dist.yaml+++ b/environment/environment.dist.yaml@@ -5,8 +5,8 @@ server:port: 8080# workers: `auto` (use all cpus) | number# regardless of the value, starts with at least 2 workers, 1 worker is dedicated to scheduled tasks- workers: 4- # trust proxy: `true` | `false` | `127.0.0.1,192.168.1.1/24` | number (trust the nth hop from the front-facing proxy server as the client)+ workers: 2+ # trust proxy: number (trust the nth hop from the front-facing proxy server as the client) | `true` | `false` | `127.0.0.1,192.168.1.1/24`# default: 1trustProxy: 1# restartOnFailure: automatically restart workers if they are killed or die@@ -68,8 +68,8 @@ mail:# default: falseignoreTLS: false# rejectUnauthorized: reject the connection if the server's TLS certificate is invalid- # default: true- rejectUnauthorized: true+ # default: false+ rejectUnauthorized: false# enable logger# default: `false`logger: false@@ -120,7 +120,7 @@ auth:# filter, e.g: (acl=admin)filter:attributes:- # login attribute (e.g. `uid` | `sAMAccountName` | `userPrincipalName` | `userid`)+ # login attribute (e.g. `uid` | `sAMAccountName` | `userPrincipalName`)# default: `uid`login: uid# email attribute: `mail` or `email`