Skip to content

Commit

Permalink
Delete echo debug commands
Browse files Browse the repository at this point in the history
  • Loading branch information
okeneo committed Mar 4, 2024
1 parent 78cf6f1 commit 76eb2bd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nginx/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ export uri=\$uri
export proxy_add_x_forwarded_for=\$proxy_add_x_forwarded_for
export scheme=\$scheme

echo "Checking for fullchain.pem"
echo "/etc/letsencrypt/live/$DOMAIN/fullchain.pem"
echo $DOMAIN
echo "Checking for fullchain.pem..."
if [ ! -f "/etc/letsencrypt/live/$DOMAIN/fullchain.pem" ]; then
echo "No SSL certificate. Enabling HTTP only..."
envsubst < /etc/nginx/default.conf.tpl > /etc/nginx/conf.d/default.conf
Expand Down

0 comments on commit 76eb2bd

Please sign in to comment.