mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
Force SSL and Multi SSL (#456)
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
if ! sudo certbot certonly --force-renewal --nginx --noninteractive --agree-tos --cert-name {{ $domain }} -m {{ $email }} {{ $domains }} --verbose; then
|
||||
if ! sudo certbot certonly --force-renewal --nginx --noninteractive --agree-tos --cert-name {{ $name }} -m {{ $email }} {{ $domains }} --verbose; then
|
||||
echo 'VITO_SSH_ERROR' && exit 1
|
||||
fi
|
||||
|
@ -33,8 +33,8 @@
|
||||
@endif
|
||||
@if ($site->activeSsl)
|
||||
listen 443 ssl;
|
||||
ssl_certificate {{ $site->activeSsl->getCertificatePath() }};
|
||||
ssl_certificate_key {{ $site->activeSsl->getPkPath() }};
|
||||
ssl_certificate {{ $site->activeSsl->certificate_path }};
|
||||
ssl_certificate_key {{ $site->activeSsl->pk_path }};
|
||||
@endif
|
||||
|
||||
server_name {{ $site->domain }} {{ $site->getAliasesString() }};
|
||||
|
Reference in New Issue
Block a user