# Debian GNU/Linux "Jessie" defaults: server.modules = ( "mod_access", "mod_compress", "mod_proxy" ) server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) server.errorlog = "/var/log/lighttpd/error.log" server.pid-file = "/var/run/lighttpd.pid" server.username = "www-data" server.groupname = "www-data" server.port = 80 url.access-deny = ( "~" ) compress.cache-dir = "/var/cache/lighttpd/compress/" include_shell "/usr/share/lighttpd/create-mime.assign.pl" include_shell "/usr/share/lighttpd/include-conf-enabled.pl" # Hidden Drugstore modifications/additions: #index-file.names = ( "index.html", "index.lighttpd.html" ) compress.filetype = ( "text/plain", "text/html" ) server.document-root = "/home/dealer/drugstore/pub" server.bind = "127.0.0.1" server.tag = "Microsoft-IIS/8.0" proxy.balance = "fair" $HTTP["url"] !~ "\.(txt|html|ico|jpg|png)$" { proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => 3000 ), ( "host" => "127.0.0.1", "port" => 3001 ), ( "host" => "127.0.0.1", "port" => 3002 ), ) ) }