aboutsummaryrefslogtreecommitdiffstats
path: root/Caddyfile
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-23 00:08:07 +0000
committerAdam Soltys <[email protected]>2022-09-22 21:12:35 -0700
commita6a655cc1f742a626f9ddfebeab6f806f40597c2 (patch)
tree7af8796c924c18016e63dda65397bfbf468476fa /Caddyfile
parent1a77da8e3447e7884016d16f72515c4982db75a6 (diff)
downloadcoinos-server-a6a655cc1f742a626f9ddfebeab6f806f40597c2.tar.gz
coinos-server-a6a655cc1f742a626f9ddfebeab6f806f40597c2.zip
prod config
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
}
}