aboutsummaryrefslogtreecommitdiffstats
path: root/Caddyfile
blob: b50f6f63954601a1b7222102c6b9ea4b538fc652 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
coinos.bobcat-liberty.ts.net {
        handle_path /api* {
                reverse_proxy localhost:3119
        }

        handle /lnurl* {
                reverse_proxy localhost:3118
        }

        handle /ws* {
                reverse_proxy localhost:3119
        }

        handle {
                root * /home/adam/coinos-ui/dist
                try_files {path}.html {path} /index.html
                file_server
        }
}