Skip to content

Commit 58a20db

Browse files
committed
Don't install NinjaFirewall by default for new installations
1 parent 170eb04 commit 58a20db

File tree

7 files changed

+28
-21
lines changed

7 files changed

+28
-21
lines changed

Dockerfile.esh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ ENV \
3232
BF_WP_DISABLE_MAJOR_UPDATES=1 \
3333
# whether or not to enable HTTPS behind a proxy server
3434
BF_WP_ENABLE_HTTPS_BEHIND_PROXY=1 \
35-
# set to 0 if you don't want the NinjaFirewall plugin to be installed automatically and setup
36-
# to run in full WAF mode (you will still have to enable it in the WordPress backend)
37-
BF_WP_INSTALL_NINJAFIREWALL=1 \
35+
# set to 1 if you want the NinjaFirewall plugin to be setup to run in full WAF mode
36+
# (you will still have to enable it in the WordPress backend)
37+
# NB: this must be 0 until you have installed WordPress or you will not be able to access the site
38+
BF_WP_INSTALL_NINJAFIREWALL=0 \
3839
# set to 0 if you don't want the WebAuthn plugin to be installed automatically
3940
BF_WP_INSTALL_WEBAUTHN=1 \
4041
# set to 0 to use WordPress cron instead of system cron (will reduce performance)

php7.4/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ ENV \
3232
BF_WP_DISABLE_MAJOR_UPDATES=1 \
3333
# whether or not to enable HTTPS behind a proxy server
3434
BF_WP_ENABLE_HTTPS_BEHIND_PROXY=1 \
35-
# set to 0 if you don't want the NinjaFirewall plugin to be installed automatically and setup
36-
# to run in full WAF mode (you will still have to enable it in the WordPress backend)
37-
BF_WP_INSTALL_NINJAFIREWALL=1 \
35+
# set to 1 if you want the NinjaFirewall plugin to be setup to run in full WAF mode
36+
# (you will still have to enable it in the WordPress backend)
37+
# NB: this must be 0 until you have installed WordPress or you will not be able to access the site
38+
BF_WP_INSTALL_NINJAFIREWALL=0 \
3839
# set to 0 if you don't want the WebAuthn plugin to be installed automatically
3940
BF_WP_INSTALL_WEBAUTHN=1 \
4041
# set to 0 to use WordPress cron instead of system cron (will reduce performance)

php8.0/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ ENV \
3232
BF_WP_DISABLE_MAJOR_UPDATES=1 \
3333
# whether or not to enable HTTPS behind a proxy server
3434
BF_WP_ENABLE_HTTPS_BEHIND_PROXY=1 \
35-
# set to 0 if you don't want the NinjaFirewall plugin to be installed automatically and setup
36-
# to run in full WAF mode (you will still have to enable it in the WordPress backend)
37-
BF_WP_INSTALL_NINJAFIREWALL=1 \
35+
# set to 1 if you want the NinjaFirewall plugin to be setup to run in full WAF mode
36+
# (you will still have to enable it in the WordPress backend)
37+
# NB: this must be 0 until you have installed WordPress or you will not be able to access the site
38+
BF_WP_INSTALL_NINJAFIREWALL=0 \
3839
# set to 0 if you don't want the WebAuthn plugin to be installed automatically
3940
BF_WP_INSTALL_WEBAUTHN=1 \
4041
# set to 0 to use WordPress cron instead of system cron (will reduce performance)

php8.1/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ ENV \
3232
BF_WP_DISABLE_MAJOR_UPDATES=1 \
3333
# whether or not to enable HTTPS behind a proxy server
3434
BF_WP_ENABLE_HTTPS_BEHIND_PROXY=1 \
35-
# set to 0 if you don't want the NinjaFirewall plugin to be installed automatically and setup
36-
# to run in full WAF mode (you will still have to enable it in the WordPress backend)
37-
BF_WP_INSTALL_NINJAFIREWALL=1 \
35+
# set to 1 if you want the NinjaFirewall plugin to be setup to run in full WAF mode
36+
# (you will still have to enable it in the WordPress backend)
37+
# NB: this must be 0 until you have installed WordPress or you will not be able to access the site
38+
BF_WP_INSTALL_NINJAFIREWALL=0 \
3839
# set to 0 if you don't want the WebAuthn plugin to be installed automatically
3940
BF_WP_INSTALL_WEBAUTHN=1 \
4041
# set to 0 to use WordPress cron instead of system cron (will reduce performance)

php8.2/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ ENV \
3232
BF_WP_DISABLE_MAJOR_UPDATES=1 \
3333
# whether or not to enable HTTPS behind a proxy server
3434
BF_WP_ENABLE_HTTPS_BEHIND_PROXY=1 \
35-
# set to 0 if you don't want the NinjaFirewall plugin to be installed automatically and setup
36-
# to run in full WAF mode (you will still have to enable it in the WordPress backend)
37-
BF_WP_INSTALL_NINJAFIREWALL=1 \
35+
# set to 1 if you want the NinjaFirewall plugin to be setup to run in full WAF mode
36+
# (you will still have to enable it in the WordPress backend)
37+
# NB: this must be 0 until you have installed WordPress or you will not be able to access the site
38+
BF_WP_INSTALL_NINJAFIREWALL=0 \
3839
# set to 0 if you don't want the WebAuthn plugin to be installed automatically
3940
BF_WP_INSTALL_WEBAUTHN=1 \
4041
# set to 0 to use WordPress cron instead of system cron (will reduce performance)

php8.3/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ ENV \
3232
BF_WP_DISABLE_MAJOR_UPDATES=1 \
3333
# whether or not to enable HTTPS behind a proxy server
3434
BF_WP_ENABLE_HTTPS_BEHIND_PROXY=1 \
35-
# set to 0 if you don't want the NinjaFirewall plugin to be installed automatically and setup
36-
# to run in full WAF mode (you will still have to enable it in the WordPress backend)
37-
BF_WP_INSTALL_NINJAFIREWALL=1 \
35+
# set to 1 if you want the NinjaFirewall plugin to be setup to run in full WAF mode
36+
# (you will still have to enable it in the WordPress backend)
37+
# NB: this must be 0 until you have installed WordPress or you will not be able to access the site
38+
BF_WP_INSTALL_NINJAFIREWALL=0 \
3839
# set to 0 if you don't want the WebAuthn plugin to be installed automatically
3940
BF_WP_INSTALL_WEBAUTHN=1 \
4041
# set to 0 to use WordPress cron instead of system cron (will reduce performance)

php8.4/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ ENV \
3232
BF_WP_DISABLE_MAJOR_UPDATES=1 \
3333
# whether or not to enable HTTPS behind a proxy server
3434
BF_WP_ENABLE_HTTPS_BEHIND_PROXY=1 \
35-
# set to 0 if you don't want the NinjaFirewall plugin to be installed automatically and setup
36-
# to run in full WAF mode (you will still have to enable it in the WordPress backend)
37-
BF_WP_INSTALL_NINJAFIREWALL=1 \
35+
# set to 1 if you want the NinjaFirewall plugin to be setup to run in full WAF mode
36+
# (you will still have to enable it in the WordPress backend)
37+
# NB: this must be 0 until you have installed WordPress or you will not be able to access the site
38+
BF_WP_INSTALL_NINJAFIREWALL=0 \
3839
# set to 0 if you don't want the WebAuthn plugin to be installed automatically
3940
BF_WP_INSTALL_WEBAUTHN=1 \
4041
# set to 0 to use WordPress cron instead of system cron (will reduce performance)

0 commit comments

Comments
 (0)