diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-02-09 16:44:48 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2019-02-09 16:44:48 +0100 |
commit | b49a04f796b9ad8533c53fee541132a4c2214909 (patch) | |
tree | e7948198422b8edbc3ae080a591963afefba3c35 /doc/md | |
parent | 905f8675a728841b03b300d2c7dc909a1c4f7f03 (diff) | |
download | Shaarli-b49a04f796b9ad8533c53fee541132a4c2214909.tar.gz Shaarli-b49a04f796b9ad8533c53fee541132a4c2214909.tar.zst Shaarli-b49a04f796b9ad8533c53fee541132a4c2214909.zip |
Rewrite IP ban management
This adds a dedicated manager class to handle all ban interactions, which is instantiated and handled by LoginManager.
IPs are now stored in the same format as the datastore, through FileUtils.
Fixes #1032 #587
Diffstat (limited to 'doc/md')
-rw-r--r-- | doc/md/Server-configuration.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/md/Server-configuration.md b/doc/md/Server-configuration.md index 78083a46..0930a489 100644 --- a/doc/md/Server-configuration.md +++ b/doc/md/Server-configuration.md | |||
@@ -404,6 +404,8 @@ If Shaarli is served behind a proxy (i.e. there is a proxy server between client | |||
404 | - `X-Forwarded-Host` | 404 | - `X-Forwarded-Host` |
405 | - `X-Forwarded-For` | 405 | - `X-Forwarded-For` |
406 | 406 | ||
407 | In you [Shaarli configuration](Shaarli-configuration) `data/config.json.php`, add the public IP of your proxy under `security.trusted_proxies`. | ||
408 | |||
407 | See also [proxy-related](https://github.com/shaarli/Shaarli/issues?utf8=%E2%9C%93&q=label%3Aproxy+) issues. | 409 | See also [proxy-related](https://github.com/shaarli/Shaarli/issues?utf8=%E2%9C%93&q=label%3Aproxy+) issues. |
408 | 410 | ||
409 | ## Robots and crawlers | 411 | ## Robots and crawlers |