Skip to content

Commit

Permalink
v7.0.1 (#158)
Browse files Browse the repository at this point in the history
Minor updates
* Using latest base image
* Show output when NAXSI is not enabled
  • Loading branch information
bfren authored Sep 13, 2023
1 parent 4bdc4b1 commit 22df7aa
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bfren/nginx:nginx1.24-alpine3.18-5.0.13
FROM bfren/nginx:nginx1.24-alpine3.18-5.0.14

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-nginx-proxy"

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.0.0
7.0.1
14 changes: 11 additions & 3 deletions overlay/etc/bf/init.d/23-naxsi
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ export BF_E=`basename ${0}`
# Generate NAXSI configuration.
#======================================================================================================================

bf-echo "Generating NAXSI files."
bf-esh ${BF_TEMPLATES}/naxsi.conf.esh /etc/nginx/helpers/naxsi.conf
bf-done
if [ "${PROXY_ENABLE_NAXSI-}" = "1" ] ; then

bf-echo "Generating NAXSI files."
bf-esh ${BF_TEMPLATES}/naxsi.conf.esh /etc/nginx/helpers/naxsi.conf
bf-done

else

bf-echo "NAXSI not enabled."

fi

0 comments on commit 22df7aa

Please sign in to comment.