Merge pull request #2714 from TekExplorer/patch-1
entrypoint.sh; docker/ directory change.
This commit is contained in:
commit
1473bf9b8c
1 changed files with 2 additions and 2 deletions
4
.github/docker/entrypoint.sh
vendored
4
.github/docker/entrypoint.sh
vendored
|
@ -42,10 +42,10 @@ else
|
|||
echo "Checking if letsencrypt email is set."
|
||||
if [ -z $LE_EMAIL ]; then
|
||||
echo "No letsencrypt email is set using http config."
|
||||
cp docker/default.conf /etc/nginx/conf.d/default.conf
|
||||
cp .github/docker/default.conf /etc/nginx/conf.d/default.conf
|
||||
else
|
||||
echo "writing ssl config"
|
||||
cp docker/default_ssl.conf /etc/nginx/conf.d/default.conf
|
||||
cp .github/docker/default_ssl.conf /etc/nginx/conf.d/default.conf
|
||||
echo "updating ssl config for domain"
|
||||
sed -i "s|<domain>|$(echo $APP_URL | sed 's~http[s]*://~~g')|g" /etc/nginx/conf.d/default.conf
|
||||
echo "generating certs"
|
||||
|
|
Loading…
Reference in a new issue