diff options
| author | Adam Soltys <[email protected]> | 2022-09-21 23:33:34 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-21 23:33:34 +0000 |
| commit | 78eaaea6a7c9e8b062da0944c6ecb493f390c367 (patch) | |
| tree | 8dc8f1e557840fc4effc872627b12e2117dd51aa /Caddyfile | |
| parent | b3874470a2ec0e9a6828f88b72ac918ec7af8908 (diff) | |
| download | coinos-server-78eaaea6a7c9e8b062da0944c6ecb493f390c367.tar.gz coinos-server-78eaaea6a7c9e8b062da0944c6ecb493f390c367.zip | |
prod config
Diffstat (limited to 'Caddyfile')
| -rw-r--r-- | Caddyfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 00000000..b50f6f63 --- /dev/null +++ b/Caddyfile @@ -0,0 +1,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 + } +} |
