mirror of
https://github.com/github/rails.git
synced 2026-01-29 08:18:03 -05:00
Reformatted for better readability [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
# Default configuration file for the lighttpd web server
|
||||
# Start using ./script/server lighttpd
|
||||
|
||||
server.bind = "0.0.0.0"
|
||||
server.port = 3000
|
||||
|
||||
server.modules = ( "mod_rewrite", "mod_accesslog", "mod_fastcgi", "mod_compress", "mod_expire" )
|
||||
|
||||
server.error-handler-404 = "/dispatch.fcgi"
|
||||
server.document-root = CWD + "/public/"
|
||||
|
||||
@@ -15,22 +17,21 @@ url.rewrite = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" )
|
||||
compress.filetype = ( "text/plain", "text/html", "text/css", "text/javascript" )
|
||||
compress.cache-dir = CWD + "/tmp/cache"
|
||||
|
||||
expire.url = ( "/favicon.ico" => "access 3 days", "/images/" => "access 3 days", "/stylesheets/" => "access 3 days", "/javascripts/" => "access 3 days" )
|
||||
expire.url = ( "/favicon.ico" => "access 3 days",
|
||||
"/images/" => "access 3 days",
|
||||
"/stylesheets/" => "access 3 days",
|
||||
"/javascripts/" => "access 3 days" )
|
||||
|
||||
|
||||
# Change *-procs to 2 if you need to use Upload Progress or other tasks that
|
||||
# *need* to execute a second request while the first is still pending.
|
||||
fastcgi.server = ( ".fcgi" =>
|
||||
( "localhost" =>
|
||||
(
|
||||
"min-procs" => 1,
|
||||
"max-procs" => 1,
|
||||
"socket" => CWD + "/tmp/sockets/fcgi.socket",
|
||||
"bin-path" => CWD + "/public/dispatch.fcgi",
|
||||
"bin-environment" => ( "RAILS_ENV" => "development" )
|
||||
)
|
||||
)
|
||||
)
|
||||
fastcgi.server = ( ".fcgi" => ( "localhost" => (
|
||||
"min-procs" => 1,
|
||||
"max-procs" => 1,
|
||||
"socket" => CWD + "/tmp/sockets/fcgi.socket",
|
||||
"bin-path" => CWD + "/public/dispatch.fcgi",
|
||||
"bin-environment" => ( "RAILS_ENV" => "development" )
|
||||
) ) )
|
||||
|
||||
mimetype.assign = (
|
||||
".css" => "text/css",
|
||||
|
||||
Reference in New Issue
Block a user