Skip to content

Commit

Permalink
Disable nginx/apache static file serve
Browse files Browse the repository at this point in the history
  • Loading branch information
jwieringa committed Aug 7, 2016
1 parent cb5dcc7 commit b925a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Expand Up @@ -22,7 +22,7 @@

# Disable serving static files from the `/public` folder by default since
# Apache or NGINX already handles this.
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
# config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?

# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
Expand Down

0 comments on commit b925a43

Please sign in to comment.