From 701e3048ad5c00606d909db43dc49abdfa06fa92 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Mon, 8 Apr 2024 15:13:32 +0200 Subject: [PATCH] Update 0.1.6.md --- documentation/docs/changelog/0.1.6.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/documentation/docs/changelog/0.1.6.md b/documentation/docs/changelog/0.1.6.md index 8790adc..04f64b2 100644 --- a/documentation/docs/changelog/0.1.6.md +++ b/documentation/docs/changelog/0.1.6.md @@ -24,7 +24,7 @@ Not yet released. - **OpenAdmin > ModSecurity** interface. - `opencli nginx-modsec` script that allows admins to: update OWASP Core Ruleset, List ModSecurity rules and Logs, Enable/Disable Rules and view domain settings. - [Custom OpenPanel and OpenAdmin templates](https://community.openpanel.co/d/32-new-custom-openpanel-and-openadmin-templates-in-v016) can now be defined by the Administrator -- BasicAuth for OpenAdmin panel +- [BasicAuth for OpenAdmin panel](#basicauth-for-openadmin) ### 💅 Polish - Added check if docker images exist before creating plans. @@ -39,7 +39,7 @@ Not yet released. -## BasicAuth for OpenAdmin +##### BasicAuth for OpenAdmin As an additional security measure, [BasicAuth](https://en.wikipedia.org/wiki/Basic_access_authentication) can be enabled for OpenAdmin panel. [Instruction](/docs/admin/scripts/openpanel_config/#admin_template) @@ -48,3 +48,12 @@ As an additional security measure, [BasicAuth](https://en.wikipedia.org/wiki/Bas :::danger API access is automatically disabled when BasicAuth is enabled. ::: + +To enable basic authentication for OpenAdmin, run commands: +`opencli config update basic_auth yes` +`opencli config update basic_auth_username STRONG_USERNAME_HERE` +`opencli config update basic_auth_password STRONG_PASSWORD_HERE` + +then reload the OpenAdmin service: +`service admin reload` +