Compare commits

...

2 Commits

Author SHA1 Message Date
Markus Opolka
d12196e622 Upgrading to LTS Version 3.27.14+210831 2021-09-07 10:02:27 +02:00
Arjun Srivastava
9abf028503 Bug fixes for certbot-nginx config. (#87)
- added missing $ for variable
- removed ``"``` which lead to cert bot incorrrectly reading "-d example.com" as a whole as an argument, and throwing an error
2021-08-30 13:10:14 +02:00
4 changed files with 8 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
FROM php:7.4-apache
LABEL maintainer="markus@martialblog.de"
ARG version='3.27.12+210816'
ARG sha256_checksum='066ee776bed2a572815bd7ab3171bb790a20eff08b57ac96d435db125cd39dd2'
ARG version='3.27.14+210831'
ARG sha256_checksum='5cee64e50a355e426a3695255f58422b84e87c0dfd0eb8828e6f7c3c16f63a34'
ARG USER=root
ARG LISTEN_PORT=80

View File

@@ -1,7 +1,7 @@
FROM php:7.4-fpm-alpine
LABEL maintainer="markus@martialblog.de"
ARG version='3.27.12+210816'
ARG sha256_checksum='066ee776bed2a572815bd7ab3171bb790a20eff08b57ac96d435db125cd39dd2'
ARG version='3.27.14+210831'
ARG sha256_checksum='5cee64e50a355e426a3695255f58422b84e87c0dfd0eb8828e6f7c3c16f63a34'
# Install OS dependencies
RUN set -ex; \

View File

@@ -1,7 +1,7 @@
FROM php:7.4-fpm
LABEL maintainer="markus@martialblog.de"
ARG version='3.27.12+210816'
ARG sha256_checksum='066ee776bed2a572815bd7ab3171bb790a20eff08b57ac96d435db125cd39dd2'
ARG version='3.27.14+210831'
ARG sha256_checksum='5cee64e50a355e426a3695255f58422b84e87c0dfd0eb8828e6f7c3c16f63a34'
# Install OS dependencies
RUN set -ex; \

View File

@@ -1,7 +1,7 @@
#!/bin/sh
cert_path=/etc/letsencrypt/live/$(echo "$HOSTNAMES" | awk '{print $1}')
mkdir -p cert_path
mkdir -p $cert_path
# if there is no certificate yet, get one
email="--email $CERT_EMAIL"
@@ -19,7 +19,7 @@ then
echo "Getting new certificate..."
/usr/bin/curl -s https://raw.githubusercontent.com/certbot/certbot/master/certbot-nginx/certbot_nginx/_internal/tls_configs/options-ssl-nginx.conf > /etc/letsencrypt/options-ssl-nginx.conf
/usr/bin/curl -s https://raw.githubusercontent.com/certbot/certbot/master/certbot/certbot/ssl-dhparams.pem > /etc/letsencrypt/ssl-dhparams.pem
/usr/bin/certbot certonly --standalone "$names" --agree-tos "$email"
/usr/bin/certbot certonly --standalone $names --agree-tos "$email"
fi
nginx -g "daemon off;"