aboutsummaryrefslogtreecommitdiff
path: root/forge.scfg
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-08-17 16:10:12 +0800
committerRunxi Yu <me@runxiyu.org>2025-08-17 16:10:12 +0800
commitba43cd193c78eb70c4734d95f5864bfffde3277d (patch)
tree3158ecc58822dfeda4a4bd98b2023cb642d0b158 /forge.scfg
parentSplit the handler up (diff)
downloadforge-ba43cd193c78eb70c4734d95f5864bfffde3277d.tar.gz
forge-ba43cd193c78eb70c4734d95f5864bfffde3277d.tar.zst
forge-ba43cd193c78eb70c4734d95f5864bfffde3277d.zip
Unspaghetti the handler
Diffstat (limited to 'forge.scfg')
-rw-r--r--forge.scfg5
1 files changed, 1 insertions, 4 deletions
diff --git a/forge.scfg b/forge.scfg
index a8e74ed..9ee56e4 100644
--- a/forge.scfg
+++ b/forge.scfg
@@ -20,6 +20,7 @@ web {
read_timeout 120
write_timeout 1800
idle_timeout 120
+ max_header_bytes 20000
# Are we running behind a reverse proxy? If so, we will trust
# X-Forwarded-For headers.
@@ -68,10 +69,6 @@ general {
}
db {
- # What type of database are we connecting to?
- # Currently only "postgres" is supported.
- type postgres
-
# What is the connection string?
conn postgresql:///lindenii-forge?host=/var/run/postgresql
}