Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Reformatted for better readability [DHH]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit c66b44e76daa96bcff62267cd2690a3755ca6bbd 1 parent 949bf29
@dhh dhh authored
Showing with 13 additions and 12 deletions.
  1. +13 −12 railties/configs/lighttpd.conf
View
25 railties/configs/lighttpd.conf
@@ -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",
Please sign in to comment.
Something went wrong with that request. Please try again.