mirror of
https://github.com/wassname/nginx-proxy-letsencrypt.git
synced 2026-10-29 13:20:53 +08:00
Some little improvements
This commit is contained in:
1 parent
a05aaa8b00
commit
2f65681c1a
2 files changed
+4
-2
No files matched your search
+3
-2
@@ -4,7 +4,8 @@ MAINTAINER David Parrish <daveparrish@tutanota.com>
|
||||
MAINTAINER Yves Blusseau <90z7oey02@sneakemail.com>
|
||||
MAINTAINER Hadrien Mary <hadrien.mary@gmail.com>
|
||||
|
||||
COPY . /app/
|
||||
|
||||
# Install simp_le program
|
||||
COPY /install_simp_le.sh /app/install_simp_le.sh
|
||||
RUN chmod +rx /app/install_simp_le.sh && sync && /app/install_simp_le.sh && rm -f /app/install_simp_le.sh
|
||||
|
||||
COPY letsencrypt_service letsencrypt_service_data.tmpl nginx.tmpl Procfile update_certs update_nginx /app/
|
||||
@@ -24,6 +24,7 @@ update_certs() {
|
||||
mkdir -p /etc/nginx/certs/$domain
|
||||
cd /etc/nginx/certs/$domain
|
||||
|
||||
echo "Creating/renewal $domain certificates..."
|
||||
/usr/local/bin/simp_le \
|
||||
-d "$domain" \
|
||||
-f fullchain.pem -f key.pem \
|
||||
|
||||
Reference in new issue
Block a user