Project

General

Profile

Bug #2594 » proxy_test.conf

minimum configuration for a proxy - omegasteffy, 2014-09-12 08:42

 
1
# lighttpd configuration file
2
#
3
# use it as a base for lighttpd 1.0.0 and above
4
#
5
# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $
6

    
7
############ Options you really have to take care of ####################
8

    
9
## modules to load
10
# at least mod_access and mod_accesslog should be loaded
11
# all other module should only be loaded if really neccesary
12
# - saves some time
13
# - saves memory
14
server.modules              = (
15
                               "mod_proxy"
16
	)
17

    
18
## a static document-root, for virtual-hosting take look at the
19
## server.virtual-* options
20
server.document-root        = "/tmp/"
21

    
22
## where to send error-messages to
23
server.errorlog             = "/tmp/lighttpd.error.log"
24

    
25
##
26
# which extensions should not be handle via static-file transfer
27
#
28
# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
29
#static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
30

    
31
######### Options that are good to be but not neccesary to be changed #######
32

    
33
## bind to port (default: 80)
34
server.port                = 83
35

    
36
proxy.debug=1
37
proxy.server = ( "" =>
38
                   ( 	
39
			( "host" => "10.0.0.175", "port" => 80)
40
 		   )
41
		)
(1-1/5)