1
0
Fork 0
mirror of synced 2024-06-29 03:30:34 +12:00

Merge pull request #431 from TorstenDittmann/patch-1

Add system email to certification obtaining
This commit is contained in:
Eldad A. Fux 2020-06-20 00:16:44 +03:00 committed by GitHub
commit 3ec94dfa1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,7 +107,8 @@ class CertificatesV1
$staging = (Config::getParam('env') === App::MODE_TYPE_PRODUCTION) ? '' : ' --dry-run';
$response = shell_exec("certbot certonly --webroot --noninteractive --agree-tos{$staging} --email security@appwrite.io \
$response = shell_exec("certbot certonly --webroot --noninteractive --agree-tos{$staging} \
--email ".$request->getServer('_APP_SYSTEM_EMAIL_ADDRESS', 'security@localhost.test')." \
-w ".APP_STORAGE_CERTIFICATES." \
-d {$domain->get()}");