Rustelo/config/base/server.toml

31 lines
746 B
TOML
Raw Normal View History

2025-07-07 23:13:01 +01:00
# Base Server Configuration
# This file contains the core server settings that are common across all environments
[server]
protocol = "http" # "http" or "https" - will be overridden in production
host = "127.0.0.1"
port = 3030
log_level = "info" # "trace", "debug", "info", "warn", "error"
# TLS Configuration (only used when protocol = "https")
[server.tls]
cert_path = "certs/server.crt"
key_path = "certs/server.key"
# Static Files Configuration
[static]
assets_dir = "public"
site_root = "target/site"
site_pkg_dir = "pkg"
# Server Directories Configuration
[server_dirs]
public_dir = "public"
uploads_dir = "uploads"
logs_dir = "logs"
temp_dir = "tmp"
cache_dir = "cache"
config_dir = "config"
data_dir = "data"
backup_dir = "backups"