Skip to content

Commit 4efac5c

Browse files
authored
v1.3.0 (#16)
Major updates * Updating base image version Minor updates * Trimming whitespace * Renaming template files Documentation updates * Adding proxy-params-websockets.conf to README
1 parent 44c7186 commit 4efac5c

File tree

11 files changed

+21
-11
lines changed

11 files changed

+21
-11
lines changed

.github/workflows/build-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: docker/setup-buildx-action@v1
2323
-
2424
name: Login to DockerHub
25-
uses: docker/login-action@v1
25+
uses: docker/login-action@v1
2626
with:
2727
username: ${{ secrets.DOCKERHUB_USERNAME }}
2828
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/build-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
uses: docker/setup-buildx-action@v1
3333
-
3434
name: Login to DockerHub
35-
uses: docker/login-action@v1
35+
uses: docker/login-action@v1
3636
with:
3737
username: ${{ secrets.DOCKERHUB_USERNAME }}
3838
password: ${{ secrets.DOCKERHUB_TOKEN }}

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM bcgdesign/nginx:alpine-3.13-1.2.4
1+
#FROM bcgdesign/nginx:alpine-3.13-1.3.0
2+
FROM bcgdesign/nginx:dev
23

34
LABEL maintainer="Ben Green <[email protected]>" \
45
org.label-schema.name="Nginx Proxy" \

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,12 @@ For SSL certificate requests to work correctly, ports 80 and 443 need mapping fr
5656

5757
The image contains a handful of useful Nginx configuration 'helper' files, which you can find in `/overlay/etc/nginx/helpers`.
5858

59-
| Helper | Description |
60-
| --------------------- | ---------------------------------------------------------------------------------------------------------------- |
61-
| `proxy-params.conf` | Headers commonly required when proxying a site. |
62-
| `secure-headers.conf` | Standard secure headers - see [Mozilla SSL Configuration Generator](https://ssl-config.mozilla.org/). |
63-
| `tls1_3-only.conf` | If you want to be ultra-secure (and not support older browsers), this will disable all TLS protocols except 1.3. |
59+
| Helper | Description |
60+
| --------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
61+
| `proxy-params.conf` | Headers commonly required when proxying a site. |
62+
| `proxy-params-websockets.conf` | Headers required to use websockets. |
63+
| `secure-headers.conf` | Standard secure headers - see [Mozilla SSL Configuration Generator](https://ssl-config.mozilla.org/). |
64+
| `tls1_3-only.conf` | If you want to be ultra-secure (and not support older browsers), this will disable all TLS protocols except 1.3. |
6465

6566
## Authors
6667

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.8
1+
1.3.0
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
#!/usr/bin/with-contenv bash
2+
3+
set -euo pipefail
4+
5+
6+
#======================================================================================================================
7+
# Run SSL update executable and log output to /ssl directory
8+
#======================================================================================================================
9+
210
ssl-update > ${SSL}/update.log

overlay/etc/ssl/inc/setup-global.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ setup_global () {
1010
_echo " .. creating global configuration file..."
1111
gomplate \
1212
-o ${SSL_GLOBAL_CFG} \
13-
-f ${TEMPLATES}/global.conf.tmpl
13+
-f ${TEMPLATES}/getssl-global.conf.tmpl
1414
fi
1515

1616
if [ ! -f ${SSL_DHPARAM} ] ; then

overlay/etc/ssl/inc/setup-nginx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ setup_nginx () {
5252
# generate site configuration
5353
gomplate \
5454
-o ${CONF} \
55-
-f ${TEMPLATES}/site.conf.tmpl
55+
-f ${TEMPLATES}/nginx-site.conf.tmpl
5656

5757
}

0 commit comments

Comments
 (0)