Skip to content

Commit

Permalink
fix: Redirect all traffic to https instead of http
Browse files Browse the repository at this point in the history
Closes #12
  • Loading branch information
poppabear8883 committed Aug 15, 2018
1 parent 007fea9 commit ab9ca5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Installer/Nginx/NginxSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function handle()

if ($ssl == 'yes') {
$this->process([
"certbot --nginx -n --agree-tos --email=$email -d $fqdn -d www.$fqdn",
"certbot --redirect --nginx -n --agree-tos --email=$email -d $fqdn -d www.$fqdn",
"certbot renew --dry-run"
]);
}
Expand Down

0 comments on commit ab9ca5a

Please sign in to comment.