Skip to content

Commit 5f795bc

Browse files
authored
v7.0.2 (#159)
Minor updates * Don't include NAXSI config files if not enabled
1 parent 22df7aa commit 5f795bc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.0.1
1+
7.0.2

overlay/etc/bf/templates/nginx-site.conf.esh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,11 @@ server {
9696
include helpers/proxy-params.conf;
9797
include helpers/proxy-secure-headers.conf;
9898

99+
<% if [ "${PROXY_ENABLE_NAXSI-}" = "1" ] ; then -%>
99100
# enable NAXSI web application firewall with custom rules
100101
include helpers/naxsi.conf;
101102
include <%= "${CUSTOM_CONF}/*.rules" %>;
103+
<% fi -%>
102104

103105
# use maintenance page (defined in helpers/proxy-maintenance.conf - see below) when there's an upstream error
104106
error_page 502 503 504 /maintenance.html;

0 commit comments

Comments
 (0)