view host/renewSsl.sh @ 1724:32c6b085bb83

test custom nginx
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 11 Aug 2022 12:18:33 +0200
parents 0344a535b1db
children 27a2530f04b6
line wrap: on
line source

#!/bin/bash

set -e

cd "$1";

ROOTPWD=$(pwd);

./acme.sh --renew-all --cert-home "$ROOTPWD"/sites --config-home "$ROOTPWD"/local/letsencrypt/config;

sudo $(which nginx) -s reload;