From 78eaaea6a7c9e8b062da0944c6ecb493f390c367 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 21 Sep 2022 23:33:34 +0000 Subject: prod config --- Caddyfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Caddyfile (limited to 'Caddyfile') 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 + } +} -- cgit v1.2.3