mirror of
https://github.com/10h30/ols-docker-env.git
synced 2026-05-12 15:21:24 +09:00
4 lines
238 B
Bash
Executable File
4 lines
238 B
Bash
Executable File
#!/usr/bin/env bash
|
|
docker-compose exec litespeed su -c "certbot certonly --agree-tos --register-unsafely-without-email --webroot -w /var/www/vhosts/${1}/html -d ${1} -d www.${1}"
|
|
echo OLS needs to be restarted to detect the certificates
|