.vvconfig/linux/install/install-services-certs.sh

10 lines
348 B
Bash

#!/bin/bash
sudo apt-get -y install certbot nginx
sudo systemctl stop nginx
certbot certonly --standalone -d git.marsway.red
certbot certonly --standalone -d star.marsway.red
certbot certonly --standalone -d www.marsway.red
certbot certonly --standalone -d lm.marsway.red
certbot certonly --standalone -d vpn.marsway.red
sudo systemctl start nginx