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 | e891968c8ee388370f40fa9e0c8fdf7088b3aa7b (patch) | |
tree | 1ea402b1b7923ee06413c418f68ab5cc0835b51d /template/Caddyfile.template | |
parent | a9a3fd12f15a05fb39be5e08f79edf8418830d0b (diff) | |
download | crupest-e891968c8ee388370f40fa9e0c8fdf7088b3aa7b.tar.gz crupest-e891968c8ee388370f40fa9e0c8fdf7088b3aa7b.tar.bz2 crupest-e891968c8ee388370f40fa9e0c8fdf7088b3aa7b.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 +} |