Browse Source

adding smaller bugfixes, change letsencrpty

release/0.1
Björn 4 years ago
parent
commit
66867d24d4
2 changed files with 6 additions and 2 deletions
  1. +4
    -2
      .gitignore
  2. +2
    -0
      app/Commands/LetsEncryptInstallCommand.php

+ 4
- 2
.gitignore View File

@ -11,5 +11,7 @@ storage/logs/*
storage/cache
!storage/cache/.gitkeep
resources/templates/nginx
!resources/templates/nginx/.gitkeep
resources/nginx/templates/custom
!resources/nginx/templates/custom/.gitkeep
resources/templates/nginx

+ 2
- 0
app/Commands/LetsEncryptInstallCommand.php View File

@ -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);


Loading…
Cancel
Save