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-23 00:08:07 +0000
commitd5187156dcffbc034f22e47e55227ecb8e871b8e (patch)
tree7af8796c924c18016e63dda65397bfbf468476fa /Caddyfile
parent242de8fc9b774c67ea944b9bc0ce73ef4396c21b (diff)
downloadcoinos-server-d5187156dcffbc034f22e47e55227ecb8e871b8e.tar.gz
coinos-server-d5187156dcffbc034f22e47e55227ecb8e871b8e.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
}
}