From c4ba477e779c37a7f777d1b38d0a7700199071d9 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 23 Sep 2022 20:04:29 +0000 Subject: move load balancing logic to separate repo --- Caddyfile | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'Caddyfile') diff --git a/Caddyfile b/Caddyfile index b4c49aba..326054ae 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,28 +1,4 @@ -classic.coinos.io { - 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 - } - - tls { - dns cloudflare {env.CLOUDFLARE_AUTH_TOKEN} - } -} - -coinos.io { +:80 { handle_path /api* { reverse_proxy app:3119 } @@ -38,12 +14,4 @@ coinos.io { handle { reverse_proxy ui:3000 } - - tls { - dns cloudflare {env.CLOUDFLARE_AUTH_TOKEN} - } } - -v2.coinos.io { - redir https://coinos.io{uri} permanent -} -- cgit v1.2.3