Feature/self hosted proxy support (#2115)

This commit is contained in:
Piyush
2025-04-19 08:54:42 +05:30
committed by GitHub
parent 89f1e8d4dd
commit cebb04c736
2 changed files with 69 additions and 0 deletions

View File

@@ -44,6 +44,10 @@ class Settings(BaseSettings):
BLOCKED_HOSTS: list[str] = ["localhost"]
ALLOWED_HOSTS: list[str] = []
# Format: "http://<username>:<password>@host:port, http://<username>:<password>@host:port, ...."
HOSTED_PROXY_POOL: str = ""
ENABLE_PROXY: bool = False
# Secret key for JWT. Please generate your own secret key in production
SECRET_KEY: str = "PLACEHOLDER"
# Algorithm used to sign the JWT