fixed Fiber IP security and cleanup code

This commit is contained in:
Turbootzz committed 2025-10-24 21:20:29 +02:00
1 parent 8cea6d1f8c
commit 70481d0350
11 files changed
+87 -366

No files matched your search

+10
View File
@@ -20,6 +20,16 @@ ALLOWED_IPS=
# Updates every 24 hours automatically
ENABLE_GITHUB_IP_RANGES=false
# Trusted Proxy Configuration
# Specify the IP of your reverse proxy (Nginx Proxy Manager, Traefik, etc.)
# Default: only localhost (127.0.0.1, ::1)
# Note: The actual client IP is extracted from X-Forwarded-For header
# Examples:
# Docker networks: TRUSTED_PROXY_IP=172.16.0.0/12
# Single proxy: TRUSTED_PROXY_IP=172.18.0.5
# Multiple proxies: TRUSTED_PROXY_IP=172.18.0.5,192.168.1.10
TRUSTED_PROXY_IP=
# CORS Configuration
# IMPORTANT: Update this for production deployments
CORS_ALLOWED_ORIGINS=http://localhost:3000