Add server security configs and setup script
- Nginx configs with security headers (X-Frame-Options, CSP, etc.) - fail2ban jails for nginx (botsearch, bad-request, forbidden) - Kernel hardening via sysctl (rp_filter, no redirects, log martians) - SSH hardening (no root, max 3 attempts, no X11) - UFW rules export - Idempotent setup.sh to restore all configs on fresh install - Flask bound to 127.0.0.1 (nginx-only access) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -3958,4 +3958,4 @@ def run_extract(config):
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("\n LLM Team UI running at http://localhost:5000\n")
|
||||
app.run(host="0.0.0.0", port=5000, debug=False)
|
||||
app.run(host="127.0.0.1", port=5000, debug=False)
|
||||
|
||||
Reference in New Issue
Block a user