-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.katana.example
More file actions
32 lines (26 loc) · 1.46 KB
/
.katana.example
File metadata and controls
32 lines (26 loc) · 1.46 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
30
31
32
# ─────────────────────────────────────────────────────────────────────────
# Katana Server - Main configuration file
# ─────────────────────────────────────────────────────────────────────────
# Format: TOML (https://toml.io)
# Filename: .katana
#
# This file controls how the Katana server runs. It is written in TOML,
# a simple and readable configuration format.
#
# Principles to follow when making changes:
# 1. Security : Always use safe default values
# 2. Performance : Adjust workers and ports to system resources
# 3. Accessibility : Use clear and explicit settings
# 4. Maintainability: Document any non-standard configuration
# ─────────────────────────────────────────────────────────────────────────
[katana]
# Server host (use "127.0.0.1" for local access only)
host = "127.0.0.1"
# Port number to run the server on
port = 8080
# Directory to serve static files from
document_root = "public"
# Number of worker threads for handling requests
worker = 4
# Logging level: DEBUG, INFO, WARN, ERROR
log_level = "INFO"