aboutsummaryrefslogtreecommitdiffstats
path: root/Caddyfile.dev
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-23 00:48:15 -0700
committerAdam Soltys <[email protected]>2022-09-23 00:48:15 -0700
commit22c38a077fea34a65d0b2ec1d6f411131f51313b (patch)
treed51c8e1fa329c24d5a31baaa7775199c70b5ba7e /Caddyfile.dev
parentc66019a8331c7d9ff7c9de8aae43f98a2d31f62a (diff)
downloadcoinos-server-22c38a077fea34a65d0b2ec1d6f411131f51313b.tar.gz
coinos-server-22c38a077fea34a65d0b2ec1d6f411131f51313b.zip
rename caddyfile
Diffstat (limited to 'Caddyfile.dev')
-rw-r--r--Caddyfile.dev19
1 files changed, 19 insertions, 0 deletions
diff --git a/Caddyfile.dev b/Caddyfile.dev
new file mode 100644
index 00000000..3dc0100b
--- /dev/null
+++ b/Caddyfile.dev
@@ -0,0 +1,19 @@
+:80 {
+ handle_path /api* {
+ reverse_proxy app:3119
+ }
+
+ handle /lnurl* {
+ reverse_proxy app:3118
+ }
+
+ handle /ws* {
+ reverse_proxy app:3119
+ }
+
+ handle {
+ root * /coinos
+ try_files {path}.html {path} /index.html
+ file_server
+ }
+}