aboutsummaryrefslogtreecommitdiff
path: root/forge.example.scfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--forge.example.scfg (renamed from forge.scfg)20
1 files changed, 11 insertions, 9 deletions
diff --git a/forge.scfg b/forge.example.scfg
index 1c8eeb9..9ef39a6 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 {
@@ -40,11 +46,8 @@ git {
# Where should newly-created Git repositories be stored?
repo_dir /var/lib/lindenii/forge/repos
- # Where should git2d listen on?
+ # Where is git2d listening on?
socket /var/run/lindenii/forge/git2d.sock
-
- # Where should we put git2d?
- daemon_path /usr/libexec/lindenii/forge/git2d
}
ssh {
@@ -61,6 +64,8 @@ ssh {
# What is the canonical SSH URL?
root ssh://forge.example.org
+
+ shutdown_timeout 10
}
general {
@@ -68,10 +73,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 +98,7 @@ lmtp {
# General timeouts
read_timeout 300
write_timeout 300
+ shutdown_timeout 10
}
pprof {