Compare commits

...

4 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
Markus Opolka
b93f79bd4e Upgrading to Version 5.1.3+210817 2021-08-24 08:07:10 +02:00
Markus Opolka
cbae03e396 Upgrading to LTS Version 3.27.12+210816 2021-08-24 08:06:23 +02:00
7 changed files with 14 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
FROM php:7.4-apache
LABEL maintainer="markus@martialblog.de"
ARG version='3.27.11+210809'
ARG sha256_checksum='c24df0e007e9a9c4e64a1e57c07a559e1866d79a32f8ab736efc0e73aa8a28b1'
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.11+210809'
ARG sha256_checksum='c24df0e007e9a9c4e64a1e57c07a559e1866d79a32f8ab736efc0e73aa8a28b1'
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.11+210809'
ARG sha256_checksum='c24df0e007e9a9c4e64a1e57c07a559e1866d79a32f8ab736efc0e73aa8a28b1'
ARG version='3.27.14+210831'
ARG sha256_checksum='5cee64e50a355e426a3695255f58422b84e87c0dfd0eb8828e6f7c3c16f63a34'
# Install OS dependencies
RUN set -ex; \

View File

@@ -1,7 +1,7 @@
FROM php:8-apache
LABEL maintainer="markus@martialblog.de"
ARG version='5.1.2+210813'
ARG sha256_checksum='c8763494cabae983611e177bb551c837441509d8c94dd7e1f4825eff954c962a'
ARG version='5.1.3+210817'
ARG sha256_checksum='d85e0147b730085c0e82327dcdeb1c8aef837bf00da2b113bf77535c9eda5784'
ARG USER=www-data
ARG LISTEN_PORT=8080

View File

@@ -1,7 +1,7 @@
FROM php:8-fpm-alpine
LABEL maintainer="markus@martialblog.de"
ARG version='5.1.2+210813'
ARG sha256_checksum='c8763494cabae983611e177bb551c837441509d8c94dd7e1f4825eff954c962a'
ARG version='5.1.3+210817'
ARG sha256_checksum='d85e0147b730085c0e82327dcdeb1c8aef837bf00da2b113bf77535c9eda5784'
ARG USER=www-data
# Install OS dependencies

View File

@@ -1,7 +1,7 @@
FROM php:8-fpm
LABEL maintainer="markus@martialblog.de"
ARG version='5.1.2+210813'
ARG sha256_checksum='c8763494cabae983611e177bb551c837441509d8c94dd7e1f4825eff954c962a'
ARG version='5.1.3+210817'
ARG sha256_checksum='d85e0147b730085c0e82327dcdeb1c8aef837bf00da2b113bf77535c9eda5784'
ARG USER=www-data
# Install OS dependencies

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;"