27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
# How long a user stays signed in, in seconds
|
|
SESSION_LIFETIME=86400
|
|
|
|
# Whether to use the 'Secure' attribute on the session cookie
|
|
USE_SECURE=true
|
|
|
|
# Set to true if you're running this behing a reverse proxy (you should, given there is no built-in SSL support)
|
|
USE_REVERSE_PROXY=true
|
|
|
|
# Name of the header containing the request's emitter's IP adress. No effect is USE_REVERSE_PROXY is false.
|
|
REAL_IP_HEADER=X-Forwarded-For
|
|
|
|
# IP and port used on which the built not server will host the site (not used by dev server / npm run dev)
|
|
HOST=127.0.0.1
|
|
PORT=4000
|
|
|
|
# Your domain name. If running on a personnal device, use the IP and port
|
|
# Domain example : https://mydomain.com, home-hosted example : http://127.0.0.1:4000
|
|
ORIGIN=http://127.0.0.1:4000
|
|
|
|
# Uncomment to choose your own default admin password (you should change it afterwards regardless)
|
|
# Else, a random one will be generated and printed to logs and written to ./data/default_admin_pass.txt
|
|
# DEFAULT_ADMIN_PASS=changeme
|
|
|
|
# Prefix for the tabs' titles
|
|
PUBLIC_SITE_NAME=WOL Panel
|