aboutsummaryrefslogtreecommitdiff
path: root/forge.scfg
diff options
context:
space:
mode:
Diffstat (limited to 'forge.scfg')
-rw-r--r--forge.scfg9
1 files changed, 8 insertions, 1 deletions
diff --git a/forge.scfg b/forge.scfg
index e2b703e..5003b75 100644
--- a/forge.scfg
+++ b/forge.scfg
@@ -14,9 +14,16 @@ http {
# What is the canonical URL of the web root?
root https://forge.example.org
+ # General HTTP server context timeout settings. It's recommended to
+ # set them slightly higher than usual as Git operations over large
+ # repos may take a long time.
read_timeout 120
- write_timeout 120
+ write_timeout 1800
idle_timeout 120
+
+ # Are we running behind a reverse proxy? If so, we will trust
+ # X-Forwarded-For headers.
+ reverse_proxy true
}
irc {