aboutsummaryrefslogtreecommitdiffstats
path: root/Caddyfile
diff options
context:
space:
mode:
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Caddyfile b/Caddyfile
index d179c899..3dc0100b 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -1,4 +1,4 @@
-localhost:80 {
+:80 {
handle_path /api* {
reverse_proxy app:3119
}
@@ -13,6 +13,7 @@ localhost:80 {
handle {
root * /coinos
+ try_files {path}.html {path} /index.html
file_server
}
}