aboutsummaryrefslogtreecommitdiffstats
path: root/Caddyfile
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-21 23:33:34 +0000
committerAdam Soltys <[email protected]>2022-09-22 21:12:21 -0700
commit6e949499a9857f43821cd77792d1b84c8bd536be (patch)
tree8851766ba464633d8695628d29ceece5e15d58cf /Caddyfile
parent918813a6e49f9d05828f6fb205614f9d288269e1 (diff)
downloadcoinos-server-6e949499a9857f43821cd77792d1b84c8bd536be.tar.gz
coinos-server-6e949499a9857f43821cd77792d1b84c8bd536be.zip
prod config
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile19
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
+ }
+}