{% extends "base.html" %} {% block title %}Settings - Admin Panel{% endblock %} {% block page_title %}System Settings{% endblock %} {% block content %}

Settings

Get this from @BotFather on Telegram
Your chat ID or group ID
For IP geolocation and proxy detection
Get this from your Cloudflare dashboard
Used for server-side verification
Automatically block detected bot traffic
Block traffic from Tor and proxy servers
Enable machine learning-based bot detection that learns from Turnstile
AI-AntiBot: Uses machine learning to detect bots, learning from Cloudflare Turnstile results.
Enter your domain name. SSL certificate will be automatically configured via Let's Encrypt.
Checking...
Automatic Domain Setup: When you save a new domain, the system will:
  • Configure Nginx with proper settings
  • Install SSL certificate via Let's Encrypt
  • Replace any existing domain (only one domain active at a time)
  • Set up HTTPS redirects and security headers
{% if domain_status and domain_status.domain %}
Current Domain Configuration
Domain: {{ domain_status.domain }}
Base URL: {{ domain_status.base_url }}
SSL Enabled: {% if domain_status.ssl_enabled %} Yes {% else %} No {% endif %}
Status: {% if domain_status.configured %} Configured {% else %} Not Configured {% endif %}
Accessible: {% if domain_status.accessible %} Yes {% else %} No {% endif %}
{% if domain_status.configured_at %} Configured: {{ domain_status.configured_at[:19] }} {% endif %}
{% endif %}
{% endblock %}