aboutsummaryrefslogtreecommitdiff
path: root/template/nginx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-09-22 17:08:37 +0800
committercrupest <crupest@outlook.com>2023-09-22 17:08:37 +0800
commita1669d8fba4af9b4869d721d4e1f3e52c0809f4f (patch)
tree4c8d92f46b192296ba2558bfb1c45833726b4449 /template/nginx
parentc1e524f4272b21fde2e62f0210bf453e92d94099 (diff)
downloadcrupest-a1669d8fba4af9b4869d721d4e1f3e52c0809f4f.tar.gz
crupest-a1669d8fba4af9b4869d721d4e1f3e52c0809f4f.tar.bz2
crupest-a1669d8fba4af9b4869d721d4e1f3e52c0809f4f.zip
Remove code-server.
Diffstat (limited to 'template/nginx')
-rw-r--r--template/nginx/server.json53
1 files changed, 24 insertions, 29 deletions
diff --git a/template/nginx/server.json b/template/nginx/server.json
index af48eb4..e810234 100644
--- a/template/nginx/server.json
+++ b/template/nginx/server.json
@@ -1,29 +1,24 @@
-{
- "$schema": "./server.schema.json",
- "sites": [
- {
- "type": "reverse-proxy",
- "subdomain": "code",
- "upstream": "code-server:8080"
- },
- {
- "type": "reverse-proxy",
- "subdomain": "timeline",
- "upstream": "timeline:5000"
- },
- {
- "type": "static-file",
- "subdomain": "blog",
- "root": "/srv/blog"
- },
- {
- "type": "redirect",
- "subdomain": "github",
- "url": "https://github.com/crupest"
- },
- {
- "type": "cert-only",
- "subdomain": "mail"
- }
- ]
-} \ No newline at end of file
+{
+ "$schema": "./server.schema.json",
+ "sites": [
+ {
+ "type": "reverse-proxy",
+ "subdomain": "timeline",
+ "upstream": "timeline:5000"
+ },
+ {
+ "type": "static-file",
+ "subdomain": "blog",
+ "root": "/srv/blog"
+ },
+ {
+ "type": "redirect",
+ "subdomain": "github",
+ "url": "https://github.com/crupest"
+ },
+ {
+ "type": "cert-only",
+ "subdomain": "mail"
+ }
+ ]
+}