mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-17 04:34:40 +03:00
fail2ban service in docker container (#2632)
docker container Co-authored-by: Dmitrij Vinogradov <dmitrij.vinogradov@gmail.com>
This commit is contained in:
committed by
GitHub
parent
0c47771671
commit
a4c38ec8ae
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Start fail2ban
|
||||
fail2ban-client -x start
|
||||
[ $X_UI_ENABLE_FAIL2BAN == "true" ] && fail2ban-client -x start
|
||||
|
||||
# Run x-ui
|
||||
exec /app/x-ui
|
||||
|
||||
Reference in New Issue
Block a user