diff options
author | crupest <crupest@outlook.com> | 2022-10-28 23:07:12 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-10-28 23:07:12 +0800 |
commit | 125f22cb83b89f9f5011ca2ec835342ea8876833 (patch) | |
tree | 1ea402b1b7923ee06413c418f68ab5cc0835b51d /template/Caddyfile.template | |
parent | 4c35716b592a728e530ded6cac0416bce7d71179 (diff) | |
download | crupest-125f22cb83b89f9f5011ca2ec835342ea8876833.tar.gz crupest-125f22cb83b89f9f5011ca2ec835342ea8876833.tar.bz2 crupest-125f22cb83b89f9f5011ca2ec835342ea8876833.zip |
...
Diffstat (limited to 'template/Caddyfile.template')
-rw-r--r-- | template/Caddyfile.template | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/template/Caddyfile.template b/template/Caddyfile.template new file mode 100644 index 0000000..df917ac --- /dev/null +++ b/template/Caddyfile.template @@ -0,0 +1,20 @@ +{ + encode gzip +} + +{{CRUPEST_DOMAIN}} { + root * /srv + file_server +} + +blog.{{CRUPEST_DOMAIN}} { + reverse_proxy halo:8090 +} + +timeline.{{CRUPEST_DOMAIN}} { + reverse_proxy timeline:5000 +} + +code.{{CRUPEST_DOMAIN}} { + reverse_proxy code_server:8080 +} |