diff options
author | crupest <crupest@outlook.com> | 2022-11-01 17:44:47 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-01 17:44:47 +0800 |
commit | c35b62b0529716e802da9b8af7a9e7c1dac506b1 (patch) | |
tree | 0aa7ac82a401c467d41a7b4a5bda0ddbea07e5c3 /template | |
parent | b067473d01eb9ae1082da601b473a52c5de3f31e (diff) | |
download | crupest-c35b62b0529716e802da9b8af7a9e7c1dac506b1.tar.gz crupest-c35b62b0529716e802da9b8af7a9e7c1dac506b1.tar.bz2 crupest-c35b62b0529716e802da9b8af7a9e7c1dac506b1.zip |
Fix caddy file error.
Diffstat (limited to 'template')
-rw-r--r-- | template/Caddyfile.template | 8 |
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 } |