Skip to content

Commit

Permalink
Merge pull request #261 from jphager2/issue-255
Browse files Browse the repository at this point in the history
update format of settings in environment.rb
  • Loading branch information
bryanp committed Jun 3, 2017
2 parents 59ad890 + 93efc00 commit 2345ab9
Showing 1 changed file with 26 additions and 23 deletions.
49 changes: 26 additions & 23 deletions lib/pakyow/environment.rb
Expand Up @@ -20,33 +20,36 @@
# mount Pakyow::App, at: "/"
# end
#
# The following config settings are available within the environment:
# == Configuration Options
#
# - *env.default*: named environment to start when one is not explicitly provided
# _default_: development
# These config options are available:
#
# - *server.default*: the application server to use by default
# _default_: puma
# - *server.port*: the port that the environment runs on
# _default_: 3000
# - *server.host*: the host that the environment runs on
# _default_: localhost
# - +env.default+ defines the named environment to start when one is not
# explicitly provided. Default is +:development+.
#
# - *logger.enabled*: whether or not logging is enabled
# _default_: true
# - *logger.level*: what level to log at
# _default_: :debug, :info (production)
# - *logger.formatter*: the formatter to use when logging
# _default_: {Logger::DevFormatter}, {Logger::LogfmtFormatter} (production)
# - *logger.destinations*: where logs are output to
# _default_: $stdout (when logger.enabled), /dev/null (for test environment or when logger is disabled)
# - +server.default+ defines the application server to use by default.
# Default is +:puma+.
# - +server.port+ defines the port that the environment runs on.
# Default is +3000+.
# - +server.host+ defines the host that the environment runs on.
# Default is "localhost".
#
# - *normalizer.strict_path*: whether or not request paths are normalized
# _default_: true
# - *normalizer.strict_www*: whether or not the www subdomain are normalized
# _default_: false
# - *normalizer.require_www*: whether or not to require www in the hostname
# _default_: true
# - +logger.enabled+ defines whether or not logging is enabled.
# Default is +true+.
# - +logger.level+ defines what level to log at. Default is +:debug+, or
# +:info+ in the +production+ environment.
# - +logger.formatter+ defines the formatter to use when logging. Default is
# {Logger::DevFormatter}, or {Logger::LogfmtFormatter} in production.
# - +logger.destinations+ defines where logs are output to. Default is
# +$stdout+ (when +logger.enabled+), or +/dev/null+ in the +test+
# environment or when logger is disabled).
#
# - +normalizer.strict_path+ defines whether or not request paths are
# normalized. Default is +true+.
# - +normalizer.strict_www+ defines whether or not the www subdomain are
# normalized. Default is +false+.
# - +normalizer.require_www+ defines whether or not to require www in the
# hostname. Default is +true+.
#
# Configuration support is added via {Support::Configurable}.
#
Expand Down

0 comments on commit 2345ab9

Please sign in to comment.