update caddy readme
authorRyan Burnette <ryan.burnette@gmail.com>
Thu, 17 Sep 2020 02:06:12 +0000 (22:06 -0400)
committerAJ ONeal <aj@therootcompany.com>
Thu, 17 Sep 2020 17:36:27 +0000 (17:36 +0000)
caddy/README.md

index 6016a1cc55199728d612f9fa3fcd72516d84cdd9..93324c248d0cc5fe51fc978a7824b040e23380b7 100644 (file)
@@ -51,7 +51,7 @@ example.com {
     # serve static files from public folder, but not /api
     @notApi {
         file {
-            try_files {path} {path}/ /index.html
+            try_files {path} {path}/ {path}/index.html
         }
         not path /api/*
     }