diff options
author | crupest <crupest@outlook.com> | 2022-11-28 19:02:24 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-28 19:02:24 +0800 |
commit | 2d0a25da57d201ea76d2cbdc30f6d33cd76c95f8 (patch) | |
tree | 72d19c0fa7797f286c416b6782642c75e1ef19d4 /template/nginx/server.json | |
parent | 910d03208b8696483a200e4d25b1a332110c1ef5 (diff) | |
download | crupest-2d0a25da57d201ea76d2cbdc30f6d33cd76c95f8.tar.gz crupest-2d0a25da57d201ea76d2cbdc30f6d33cd76c95f8.tar.bz2 crupest-2d0a25da57d201ea76d2cbdc30f6d33cd76c95f8.zip |
Move blog to hugo.
Diffstat (limited to 'template/nginx/server.json')
-rw-r--r-- | template/nginx/server.json | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/template/nginx/server.json b/template/nginx/server.json index dc3904d..459e74e 100644 --- a/template/nginx/server.json +++ b/template/nginx/server.json @@ -11,14 +11,6 @@ }, { "type": "reverse-proxy", - "subdomain": "blog", - "upstream": { - "name": "halo", - "server": "halo:8090" - } - }, - { - "type": "reverse-proxy", "subdomain": "timeline", "upstream": { "name": "timeline", @@ -26,6 +18,11 @@ } }, { + "type": "static-file", + "subdomain": "blog", + "root": "/srv/blog" + }, + { "type": "redirect", "subdomain": "github", "url": "https://github.com/crupest" |