Skip to content

Commit

Permalink
Assets and images via Fly
Browse files Browse the repository at this point in the history
Also, shorter Rack timeout
  • Loading branch information
ujh committed Jan 26, 2025
1 parent 1d12ad6 commit 16a038b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ BUNDLE_WITHOUT = "development:test"
NEW_RELIC_BROWSER_MONITORING_AUTO_INSTRUMENT = "false"
NEW_RELIC_LOG = "stdout"
RACK_ENV = "production"
RACK_TIMEOUT_SERVICE_TIMEOUT = "25"
RACK_TIMEOUT_WAIT_TIMEOUT = "30"
RACK_TIMEOUT_SERVICE_TIMEOUT = "15"
RACK_TIMEOUT_WAIT_TIMEOUT = "10"
RAILS_ENV = "production"
RAILS_LOG_TO_STDOUT = "enabled"
RAILS_MAX_THREADS = "5"
Expand Down Expand Up @@ -52,13 +52,13 @@ method = "GET"
timeout = "5s"
path = "/"

# [[statics]]
# guest_path = "/app/public/assets"
# url_prefix = "/assets"
[[statics]]
guest_path = "/app/public/assets"
url_prefix = "/assets"

# [[statics]]
# guest_path = "/app/public/images"
# url_prefix = "/images"
[[statics]]
guest_path = "/app/public/images"
url_prefix = "/images"

[[vm]]
memory = '512mb'
Expand Down

0 comments on commit 16a038b

Please sign in to comment.