We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a00ca85 + 8b0f247 commit 2b62da5Copy full SHA for 2b62da5
config/environments/production.rb
@@ -26,6 +26,9 @@
26
# Apache or NGINX already handles this.
27
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
28
29
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
30
+ config.assets.compile = false
31
+
32
# Specifies the header that your server uses for sending files.
33
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for Apache
34
# config.action_dispatch.x_sendfile_header = "X-Accel-Redirect" # for NGINX
0 commit comments