aboutsummaryrefslogtreecommitdiff
path: root/template/nginx/server.json
blob: a338c4f29377d9718bf4ec4d445e6dca74dbf7ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
    "$schema": "./server.schema.json",
    "sites": [
        {
            "type": "reverse-proxy",
            "subdomain": "timeline",
            "upstream": "timeline:5000"
        },
        {
            "type": "reverse-proxy",
            "subdomain": "code",
            "upstream": "debian-dev:8080"
        },
        {
            "type": "reverse-proxy",
            "subdomain": "git",
            "upstream": "forgejo:3000"
        },
        {
            "type": "static-file",
            "subdomain": "blog",
            "root": "/srv/blog"
        },
        {
            "type": "redirect",
            "subdomain": "github",
            "url": "https://github.com/crupest"
        }
    ]
}