Skip to content

Commit

Permalink
Changing bins for docker template
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-hagen committed Feb 18, 2020
1 parent 99e8100 commit 61671a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TimeZone=America/New_York

OLS_VERSION=1.6.8

PHP_VERSION=lsphp72
PHP_VERSION=lsphp73

MYSQL_DATABASE=wordpress
MYSQL_ROOT_PASSWORD=password
Expand Down
2 changes: 1 addition & 1 deletion bin/acme.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

docker-compose exec litespeed su -c "/root/.acme.sh/acme.sh -issue ${1} -w /var/www/vhosts/${1}/html/"
docker-compose exec litespeed su -c "/root/.acme.sh/acme.sh --issue -d ${1} -w /var/www/vhosts/${1}/html/"
2 changes: 1 addition & 1 deletion bin/container/domainctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ add_ls_domain(){
}

add_ols_domain(){
perl -0777 -p -i -e 's/(vhTemplate centralConfigLog \{[^}]+)\}*(^.*listeners.*$)/\1$2
perl -0777 -p -i -e 's/(vhTemplate docker \{[^}]+)\}*(^.*listeners.*$)/\1$2
member '${DOMAIN}' {
vhDomain '${DOMAIN},${WWW_DOMAIN}'
}/gmi' ${OLS_HTTPD_CONF}
Expand Down

0 comments on commit 61671a1

Please sign in to comment.