Skip to content

Commit

Permalink
fix acme issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Mon-ius committed Mar 10, 2024
1 parent 9c2a6bf commit 1312df8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/BASE
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ RUN apk --no-cache add ca-certificates openssl pcre zlib tzdata git curl
COPY --from=NGINX /usr/sbin/nginx /usr/sbin/nginx
# COPY --from=NGINX /root/.acme.sh/acme.sh /root/acme.sh

RUN curl -fsSL https://get.acme.sh | sh -s [email protected]
RUN curl -fsSL https://get.acme.sh | sh -s -m [email protected]

# RUN du -sh / >> /etc/store.debug

Expand Down
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

sleep 3

NG_ACME=~/.acme/acme.sh
NG_ACME=~/.acme.sh/acme.sh
NG_SSL=/etc/nginx/ssl
NG_CONF=/etc/nginx/nginx.conf
NG_DEBUG=/etc/nginx/service.d/default
Expand Down Expand Up @@ -252,7 +252,7 @@ EOF
if [ ! -d $NG_SSL ] && [ -e $NG_ACME ]; then
mkdir -p $NG_SSL

$NG_ACME --issue -d "$DOMAIN" -d "$AI_SERVICE_NAME.$DOMAIN" --dns dns_cf
$NG_ACME --issue -d "$AI_SERVICE_NAME.$DOMAIN" --dns dns_cf -k ec-256

$NG_ACME --install-cert -d "$DOMAIN" \
--key-file "$SSL_KEY" \
Expand Down

0 comments on commit 1312df8

Please sign in to comment.