From 66867d24d4db6c4f29c24978478efeb3cb492f35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Sun, 9 Aug 2020 18:42:41 +0200 Subject: [PATCH] adding smaller bugfixes, change letsencrpty --- .gitignore | 6 ++++-- app/Commands/LetsEncryptInstallCommand.php | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 412d41d..4749014 100644 --- a/.gitignore +++ b/.gitignore @@ -11,5 +11,7 @@ storage/logs/* storage/cache !storage/cache/.gitkeep -resources/templates/nginx -!resources/templates/nginx/.gitkeep \ No newline at end of file +resources/nginx/templates/custom +!resources/nginx/templates/custom/.gitkeep + +resources/templates/nginx \ No newline at end of file diff --git a/app/Commands/LetsEncryptInstallCommand.php b/app/Commands/LetsEncryptInstallCommand.php index 311cd90..d22a81f 100644 --- a/app/Commands/LetsEncryptInstallCommand.php +++ b/app/Commands/LetsEncryptInstallCommand.php @@ -48,6 +48,7 @@ class LetsEncryptInstallCommand extends Command $this->line(implode("\n", Install::filterAptMessages($output))); $output = []; + $this->info('LetsEncrypt adding ppa for certbot...'); exec('add-apt-repository -y universe 2>&1', $output); exec('add-apt-repository -y ppa:certbot/certbot 2>&1', $output); @@ -55,6 +56,7 @@ class LetsEncryptInstallCommand extends Command $this->line(implode("\n", Install::filterAptMessages($output))); $output = []; + $this->info('LetsEncrypt install certbot...'); exec('apt update 2>&1', $output); exec('apt install -y certbot python3-certbot-nginx 2>&1', $output);