service static files by fly.io proxies

This commit is contained in:
m5r 2021-09-02 05:55:29 +08:00
parent 98778c7a7b
commit 021d009330
2 changed files with 16 additions and 0 deletions

View File

@ -46,3 +46,11 @@ processes = []
interval = "15s"
restart_limit = 6
timeout = "2s"
[[statics]]
guest_path = "/app/.next/static"
url_prefix = "/_next/static"
[[statics]]
guest_path = "/app/public/fonts"
url_prefix = "/fonts"

View File

@ -46,3 +46,11 @@ processes = []
interval = "15s"
restart_limit = 6
timeout = "2s"
[[statics]]
guest_path = "/app/.next/static"
url_prefix = "/_next/static"
[[statics]]
guest_path = "/app/public/fonts"
url_prefix = "/fonts"