diff options
-rw-r--r-- | forge.scfg | 3 | ||||
-rw-r--r-- | forged/internal/incoming/web/config.go | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -25,6 +25,9 @@ web { # 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 } irc { diff --git a/forged/internal/incoming/web/config.go b/forged/internal/incoming/web/config.go index 63a7f37..8d32b34 100644 --- a/forged/internal/incoming/web/config.go +++ b/forged/internal/incoming/web/config.go @@ -11,4 +11,6 @@ type Config struct { MaxHeaderBytes int `scfg:"max_header_bytes"` ReverseProxy bool `scfg:"reverse_proxy"` ShutdownTimeout uint32 `scfg:"shutdown_timeout"` + TemplatesPath string `scfg:"templates_path"` + StaticPath string `scfg:"static_path"` } |