summaryrefslogtreecommitdiff
path: root/Caddyfile.forge.wit.com
diff options
context:
space:
mode:
Diffstat (limited to 'Caddyfile.forge.wit.com')
-rw-r--r--Caddyfile.forge.wit.com29
1 files changed, 29 insertions, 0 deletions
diff --git a/Caddyfile.forge.wit.com b/Caddyfile.forge.wit.com
new file mode 100644
index 0000000..102d2cc
--- /dev/null
+++ b/Caddyfile.forge.wit.com
@@ -0,0 +1,29 @@
+{
+ debug
+ servers {
+ metrics
+ }
+
+ log {
+ output file /var/log/caddy/caddy.log {
+ roll_size 500mb
+ }
+ format json {
+ time_format iso8601
+ }
+ }
+}
+
+forge.wit.com {
+ encode zstd gzip
+ reverse_proxy localhost:2520
+ log {
+ output file /var/log/caddy/forge.wit.com.log {
+ roll_size 100mb
+ }
+ format json {
+ time_format iso8601
+ }
+ }
+}