diff options
Diffstat (limited to 'template/nginx')
-rw-r--r-- | template/nginx/server.json | 53 |
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"
+ }
+ ]
+}
|