aboutsummaryrefslogtreecommitdiffstats
path: root/Caddyfile
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-22 02:57:15 +0000
committerAdam Soltys <[email protected]>2022-09-22 02:57:15 +0000
commit45ae80bcde258622108c6d66e404660b0c037eb8 (patch)
tree1c22e8f49f899e7c03462dd281676c275df9ab51 /Caddyfile
parent78eaaea6a7c9e8b062da0944c6ecb493f390c367 (diff)
downloadcoinos-server-45ae80bcde258622108c6d66e404660b0c037eb8.tar.gz
coinos-server-45ae80bcde258622108c6d66e404660b0c037eb8.zip
prod config
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Caddyfile b/Caddyfile
index b50f6f63..d179c899 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -1,19 +1,18 @@
-coinos.bobcat-liberty.ts.net {
+localhost:80 {
handle_path /api* {
- reverse_proxy localhost:3119
+ reverse_proxy app:3119
}
handle /lnurl* {
- reverse_proxy localhost:3118
+ reverse_proxy app:3118
}
handle /ws* {
- reverse_proxy localhost:3119
+ reverse_proxy app:3119
}
handle {
- root * /home/adam/coinos-ui/dist
- try_files {path}.html {path} /index.html
+ root * /coinos
file_server
}
}