ccf 3 years ago
parent
commit
67430253af
1 changed files with 15 additions and 1 deletions
  1. 15 1
      config/caddy/Caddyfile

+ 15 - 1
config/caddy/Caddyfile

@@ -246,7 +246,7 @@ learn.test.proginn.com {
 }
 
 # new learn
-*.test-bituni.proginn.com {
+dev.test-bituni.proginn.com {
     tls i@shuncheng.lu {
         dns dnspod {env.DNSPOD_TOKEN}
     }
@@ -259,3 +259,17 @@ learn.test.proginn.com {
     }
     reverse_proxy http://10.200.200.200
 }
+
+qd.test-bituni.proginn.com {
+    tls i@shuncheng.lu {
+        dns dnspod {env.DNSPOD_TOKEN}
+    }
+    log {
+        output file /data/log/access.log {
+            roll_size 10MiB
+            roll_keep 10
+            roll_keep_for 72h
+        }
+    }
+    reverse_proxy http://10.200.222.235
+}