-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.env.example
More file actions
29 lines (23 loc) · 1.33 KB
/
Copy path.env.example
File metadata and controls
29 lines (23 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# MasterDnsWeb — Configuration
# Copy this file to .env and edit before running.
# ── Web panel access ──────────────────────────────────────
ADMIN_USERNAME=admin
ADMIN_PASSWORD=changeme
# Random secret used to sign login sessions — generate a unique value.
# Example: python3 -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=change-this-before-running
# ── Network ───────────────────────────────────────────────
HOST=0.0.0.0
PORT=8000
# Set to true if you are using HTTPS (e.g. behind nginx with SSL)
COOKIE_SECURE=false
COOKIE_SAMESITE=lax
# ── CORS (optional) ──────────────────────────────────────
# Comma-separated list of allowed origins. Leave empty to allow localhost only.
# CORS_ORIGINS=https://your-domain.com
# ── Service settings ──────────────────────────────────────
MASTERVPN_SERVICE_USER=root
MASTERVPN_SERVICE_RESTART=always
MASTERVPN_SERVICE_RESTART_SEC=5
# Override only if MasterDnsVPN is not in the same folder as MasterDnsWeb:
# MASTERVPN_SERVICE_EXEC_START=/path/to/MasterDnsVPN