feat: web frontend; middleware; serde (WIP?)
This commit is contained in:
31
.env.example
31
.env.example
@@ -1,7 +1,26 @@
|
||||
# Please replace these with your actual key and IV
|
||||
LINSPIRER_KEY="0123456789abcdef"
|
||||
LINSPIRER_IV="0123456789abcdef"
|
||||
# Example .env file for Linspirer MITM Server
|
||||
# Copy this to .env and fill in your values
|
||||
|
||||
# Optional: Set the listening host and port
|
||||
# LINSPIRER_HOST="0.0.0.0"
|
||||
# LINSPIRER_PORT="8080"
|
||||
# Required: AES-128 encryption key (16 characters)
|
||||
LINSPIRER_KEY=your16charkey!!
|
||||
|
||||
# Required: AES-128 initialization vector (16 characters)
|
||||
LINSPIRER_IV=your16charivec!!
|
||||
|
||||
# Required: JWT secret for generating tokens
|
||||
LINSPIRER_JWT_SECRET=a-very-long-secret-string
|
||||
|
||||
# Optional: Target server URL (default: https://cloud.linspirer.com:883)
|
||||
# LINSPIRER_TARGET_URL=https://cloud.linspirer.com:883
|
||||
|
||||
# Optional: Server host (default: 0.0.0.0)
|
||||
# LINSPIRER_HOST=0.0.0.0
|
||||
|
||||
# Optional: Server port (default: 8080)
|
||||
# LINSPIRER_PORT=8080
|
||||
|
||||
# Optional: Database path (default: sqlite://./data/linspirer.db)
|
||||
# LINSPIRER_DB_PATH=sqlite://./data/linspirer.db
|
||||
|
||||
# Optional: Rust log level
|
||||
# RUST_LOG=info
|
||||
|
||||
Reference in New Issue
Block a user