diff options
Diffstat (limited to 'template/nginx')
| -rw-r--r-- | template/nginx/server.json | 53 | 
1 files changed, 29 insertions, 24 deletions
| diff --git a/template/nginx/server.json b/template/nginx/server.json index e810234..eadce1e 100644 --- a/template/nginx/server.json +++ b/template/nginx/server.json @@ -1,24 +1,29 @@ -{
 -    "$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"
 -        }
 -    ]
 -}
 +{ +    "$schema": "./server.schema.json", +    "sites": [ +        { +            "type": "reverse-proxy", +            "subdomain": "timeline", +            "upstream": "timeline:5000" +        }, +        { +            "type": "reverse-proxy", +            "subdomain": "code", +            "upstream": "debian-dev:8080" +        }, +        { +            "type": "static-file", +            "subdomain": "blog", +            "root": "/srv/blog" +        }, +        { +            "type": "redirect", +            "subdomain": "github", +            "url": "https://github.com/crupest" +        }, +        { +            "type": "cert-only", +            "subdomain": "mail" +        } +    ] +} | 
