From f7a3fef16ba73186ab9a9f27684f21a15aef6299 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 20 Aug 2016 11:39:36 +0200 Subject: Drop fancy double quotes in puma config. --- config/puma.rb | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'config/puma.rb') diff --git a/config/puma.rb b/config/puma.rb index 8aeccdd..3f9b1f9 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -25,24 +25,24 @@ directory File.join(application_path, 'current') environment ENV['RAILS_ENV'] # Daemonize the server into the background. Highly suggest that -# this be combined with “pidfile” and “stdout_redirect”. +# this be combined with "pidfile" and "stdout_redirect". # -# The default is “false”. +# The default is "false". # daemonize true -# Store the pid of the server in the file at “path”. +# Store the pid of the server in the file at "path". # pidfile "#{application_path}/shared/tmp/pids/puma.pid" -# Use “path” as the file to store the server info state. This is -# used by “pumactl” to query and control the server. +# Use "path" as the file to store the server info state. This is +# used by "pumactl" to query and control the server. # state_path "#{application_path}/shared/tmp/pids/puma.state" # Redirect STDOUT and STDERR to files specified. The 3rd parameter -# (“append”) specifies whether the output is appended, the default is -# “false”. +# (“append") specifies whether the output is appended, the default is +# "false". # stdout_redirect( "#{application_path}/shared/log/puma.stdout.log", @@ -50,27 +50,27 @@ stdout_redirect( # Disable request logging. # -# The default is “false”. +# The default is "false". # # quiet -# Configure “min” to be the minimum number of threads to use to answer -# requests and “max” the maximum. +# Configure "min" to be the minimum number of threads to use to answer +# requests and "max" the maximum. # -# The default is “0, 16”. +# The default is "0, 16". # # threads 0, 16 -# Bind the server to “url”. “tcp://”, “unix://” and “ssl://” are the only +# Bind the server to "url". "tcp://", "unix://" and "ssl://" are the only # accepted protocols. # -# The default is “tcp://0.0.0.0:9292”. +# The default is "tcp://0.0.0.0:9292". # # bind 'tcp://0.0.0.0:9292' bind "unix://#{application_path}/shared/tmp/sockets/puma.sock" -# Instead of “bind 'ssl://127.0.0.1:9292?key=path_to_key&cert=path_to_cert'” you -# can also use the “ssl_bind” option. +# Instead of "bind 'ssl://127.0.0.1:9292?key=path_to_key&cert=path_to_cert'" you +# can also use the "ssl_bind" option. # # ssl_bind '127.0.0.1', '9292', { key: path_to_key, cert: path_to_cert } @@ -93,7 +93,7 @@ bind "unix://#{application_path}/shared/tmp/sockets/puma.sock" # How many worker processes to run. # -# The default is “0”. +# The default is "0". # # workers 2 @@ -108,7 +108,7 @@ bind "unix://#{application_path}/shared/tmp/sockets/puma.sock" # === Puma control rack application === -# Start the puma control rack application on “url”. This application can +# Start the puma control rack application on "url". This application can # be communicated with to control the main server. Additionally, you can # provide an authentication token, so all requests to the control server # will need to include that token as a query parameter. This allows for -- cgit v1.2.3