aboutsummaryrefslogtreecommitdiff
path: root/forge.scfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--forge.example.scfg (renamed from forge.scfg)15
1 files changed, 10 insertions, 5 deletions
diff --git a/forge.scfg b/forge.example.scfg
index 1c8eeb9..541c706 100644
--- a/forge.scfg
+++ b/forge.example.scfg
@@ -1,4 +1,4 @@
-http {
+web {
# What network transport should we listen on?
# Examples: tcp tcp4 tcp6 unix
net tcp
@@ -20,10 +20,16 @@ http {
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.
reverse_proxy true
+
+ templates_path /usr/share/lindenii/forge/templates
+ static_path /usr/share/lindenii/forge/static
+
+ shutdown_timeout 10
}
irc {
@@ -61,6 +67,8 @@ ssh {
# What is the canonical SSH URL?
root ssh://forge.example.org
+
+ shutdown_timeout 10
}
general {
@@ -68,10 +76,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
}
@@ -97,6 +101,7 @@ lmtp {
# General timeouts
read_timeout 300
write_timeout 300
+ shutdown_timeout 10
}
pprof {