Allow listening on multiple interfaces
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
# WeaselDB Configuration File
|
||||
|
||||
[server]
|
||||
unix_socket_path = "weaseldb.sock"
|
||||
bind_address = "127.0.0.1"
|
||||
port = 8080
|
||||
# Network interfaces to listen on - both TCP for external access and Unix socket for high-performance local testing
|
||||
interfaces = [
|
||||
{ type = "tcp", address = "127.0.0.1", port = 8080 },
|
||||
{ type = "unix", path = "weaseldb.sock" }
|
||||
]
|
||||
# Maximum request size in bytes (for 413 Content Too Large responses)
|
||||
max_request_size_bytes = 1048576 # 1MB
|
||||
# Number of I/O threads for handling connections and network events
|
||||
|
||||
Reference in New Issue
Block a user