mirror of
https://github.com/swissmakers/fail2ban-ui.git
synced 2026-04-17 05:53:15 +02:00
Check jail.local state and warn user if it is not fail2ban-UI managed, disable automatic jail.local migration because it is only testing
This commit is contained in:
12
README.md
12
README.md
@@ -322,6 +322,18 @@ On page load, the footer can check the latest release on GitHub to show "Latest"
|
||||
|
||||
When disabled, the footer still shows the current version but does not perform any request to GitHub.
|
||||
|
||||
**Experimental: Automatic jail.local Migration**
|
||||
|
||||
If your Fail2ban server has a pre-existing `jail.local` with custom jails, Fail2ban-UI **will not** migrate them automatically by default. It is always best to migrate a pre-existing `jail.local` by hand (move each jail section into its own file under `jail.d/`).
|
||||
|
||||
To enable the **experimental** automatic migration, set:
|
||||
|
||||
```bash
|
||||
-e JAIL_AUTOMIGRATION=true \
|
||||
```
|
||||
|
||||
> **Warning:** This feature is experimental. A backup of your original `jail.local` should be created before migration, but manual migration is strongly recommended for production systems.
|
||||
|
||||
**OIDC Authentication Configuration (Optional)**
|
||||
|
||||
Enable OIDC authentication by setting the required environment variables. This protects the web UI with your identity provider. The logout flow automatically redirects back to the login page after successful provider logout.
|
||||
|
||||
Reference in New Issue
Block a user