Mercurial > zeropaste
comparison config/environments/production.rb @ 336:8286aec90912
Fix quoting.
| author | edogawaconan <me@myconan.net> |
|---|---|
| date | Wed, 23 Apr 2014 09:33:08 +0900 |
| parents | 49410cc6ffd6 |
| children | 9e860754b5d6 |
comparison
equal
deleted
inserted
replaced
| 335:58d7fa50b8cc | 336:8286aec90912 |
|---|---|
| 31 | 31 |
| 32 # Generate digests for assets URLs. | 32 # Generate digests for assets URLs. |
| 33 config.assets.digest = true | 33 config.assets.digest = true |
| 34 | 34 |
| 35 # Version of your assets, change this if you want to expire all your assets. | 35 # Version of your assets, change this if you want to expire all your assets. |
| 36 config.assets.version = '1.0' | 36 config.assets.version = "1.0" |
| 37 | 37 |
| 38 # Specifies the header that your server uses for sending files. | 38 # Specifies the header that your server uses for sending files. |
| 39 # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache | 39 # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache |
| 40 # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx | 40 # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx |
| 41 | 41 |
| 48 # Set to :debug to see everything in the log. | 48 # Set to :debug to see everything in the log. |
| 49 config.log_level = :warn | 49 config.log_level = :warn |
| 50 config.logger = Logger.new(STDOUT) | 50 config.logger = Logger.new(STDOUT) |
| 51 | 51 |
| 52 # Recommended by http://help.papertrailapp.com/kb/configuration/unicorn | 52 # Recommended by http://help.papertrailapp.com/kb/configuration/unicorn |
| 53 config.logger.level = Logger.const_get('WARN') | 53 config.logger.level = Logger.const_get("WARN") |
| 54 | 54 |
| 55 # Prepend all log lines with the following tags. | 55 # Prepend all log lines with the following tags. |
| 56 # config.log_tags = [ :subdomain, :uuid ] | 56 # config.log_tags = [ :subdomain, :uuid ] |
| 57 | 57 |
| 58 # Use a different logger for distributed setups. | 58 # Use a different logger for distributed setups. |
