forked from 0x2E/fusion

* feat: make the password optional * fix: put the check outside HashPassword * refactor: change PasswordHash to a pointer type for better checking
22 lines
510 B
Text
22 lines
510 B
Text
# To populate a .env file, copy this file to .env:
|
|
#
|
|
# cp -n .env.example .env
|
|
|
|
# Web Server
|
|
HOST="0.0.0.0"
|
|
PORT=8080
|
|
|
|
# WebUI password. Leave it an empty string to disable password protection.
|
|
PASSWORD="fusion"
|
|
|
|
# Path to store sqlite DB file
|
|
DB="fusion.db"
|
|
|
|
# Enable Secure Cookie
|
|
# It is automatically set to true when TLS_* is not empty.
|
|
SECURE_COOKIE=false
|
|
|
|
# Path to TLS cert and key files
|
|
# If you are using a reverse proxy like Nginx to handle HTTPS, please leave these empty.
|
|
TLS_CERT=""
|
|
TLS_KEY=""
|