diff --git a/docs/security-tuning.md b/docs/security-tuning.md index d5fc334b6..538a5491e 100644 --- a/docs/security-tuning.md +++ b/docs/security-tuning.md @@ -9,7 +9,7 @@ BunkerWeb offers many security features that you can configure with [settings](/ ### Deny status code -The first thing to define is the kind of action to do when a client access is denied. You can control the action with the `DENY_STATUS_CODE` setting which allows the following values : +The first thing to define is the kind of action to do when a client access is denied. You can control the action with the `DENY_HTTP_STATUS` setting which allows the following values : - `403` : send a "classical" Forbidden HTTP status code (a web page or custom content will be displayed) - `444` : close the connection (no web page or custom content will be displayed) @@ -340,4 +340,4 @@ You can deploy complex authentification (e.g. SSO), by using the auth request se |---------------------------------------|----------------------------------|---------|--------|--------------------------------------------------------------------------------------------------------------------| |`REVERSE_PROXY_AUTH_REQUEST` | |multisite|yes |Enable authentication using an external provider (value of auth_request directive). | |`REVERSE_PROXY_AUTH_REQUEST_SIGNIN_URL`| |multisite|yes |Redirect clients to signin URL when using REVERSE_PROXY_AUTH_REQUEST (used when auth_request call returned 401). | -|`REVERSE_PROXY_AUTH_REQUEST_SET` | |multisite|yes |List of variables to set from the authentication provider, separated with ; (values of auth_request_set directives).| \ No newline at end of file +|`REVERSE_PROXY_AUTH_REQUEST_SET` | |multisite|yes |List of variables to set from the authentication provider, separated with ; (values of auth_request_set directives).| diff --git a/examples/ghost/autoconf.yml b/examples/ghost/autoconf.yml index c64a2a524..edcbdcd5f 100644 --- a/examples/ghost/autoconf.yml +++ b/examples/ghost/autoconf.yml @@ -12,6 +12,7 @@ services: - myghost environment: - url=https://www.example.com # replace with your domain + - NODE_ENV=development labels: - bunkerweb.SERVER_NAME=www.example.com # replace with your domain - bunkerweb.USE_REVERSE_PROXY=yes diff --git a/examples/prestashop/autoconf.yml b/examples/prestashop/autoconf.yml index 85588b73f..a6a6d978e 100644 --- a/examples/prestashop/autoconf.yml +++ b/examples/prestashop/autoconf.yml @@ -17,8 +17,9 @@ services: - DB_PREFIX=prefix_ # replace with a random prefix (good security practice) - DB_NAME=prestashop - PS_ENABLE_SSL=1 - - ADMIN_MAIL=admin@example.com # change to the prestashop admin email - - ADMIN_PASSWD=changeme # change to the prestashop admin password + - ADMIN_MAIL=admin@example.com # change to the prestashop admin email + - ADMIN_PASSWD=changeme # change to the prestashop admin password + - PS_FOLDER_ADMIN=administration # change to the prestashop admin folder labels: - bunkerweb.SERVER_NAME=www.example.com - bunkerweb.MAX_CLIENT_SIZE=50m diff --git a/ui/main.py b/ui/main.py index 72faf5fcb..87dfba915 100755 --- a/ui/main.py +++ b/ui/main.py @@ -362,7 +362,7 @@ def instances(): next=url_for("instances"), message=( f"{request.form['operation'].title()}ing" - if request.form["operation"] is not "stop" + if request.form["operation"] != "stop" else "Stopping" ) + " instance", diff --git a/ui/templates/loading.html b/ui/templates/loading.html index 40a039a40..4dd78b989 100644 --- a/ui/templates/loading.html +++ b/ui/templates/loading.html @@ -23,11 +23,12 @@ - \ No newline at end of file +