aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-01 17:44:47 +0800
committercrupest <crupest@outlook.com>2022-11-01 17:44:47 +0800
commitc35b62b0529716e802da9b8af7a9e7c1dac506b1 (patch)
tree0aa7ac82a401c467d41a7b4a5bda0ddbea07e5c3
parentb067473d01eb9ae1082da601b473a52c5de3f31e (diff)
downloadcrupest-c35b62b0529716e802da9b8af7a9e7c1dac506b1.tar.gz
crupest-c35b62b0529716e802da9b8af7a9e7c1dac506b1.tar.bz2
crupest-c35b62b0529716e802da9b8af7a9e7c1dac506b1.zip
Fix caddy file error.
-rw-r--r--template/Caddyfile.template8
1 files changed, 4 insertions, 4 deletions
diff --git a/template/Caddyfile.template b/template/Caddyfile.template
index b2d3dd7..da1ab0e 100644
--- a/template/Caddyfile.template
+++ b/template/Caddyfile.template
@@ -1,20 +1,20 @@
-{
- encode gzip
-}
-
{{CRUPEST_DOMAIN}} {
root * /srv
+ encode gzip
file_server
}
blog.{{CRUPEST_DOMAIN}} {
+ encode gzip
reverse_proxy halo:8090
}
timeline.{{CRUPEST_DOMAIN}} {
+ encode gzip
reverse_proxy timeline:5000
}
code.{{CRUPEST_DOMAIN}} {
+ encode gzip
reverse_proxy code-server:8080
}