This file is indexed.

/usr/share/doc/redmine/examples/lighttpd-socket.conf is in redmine 3.2.1-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$SERVER["socket"] == "localhost:8080" {
	var.X_DEBIAN_SITEID = "default"
	alias.url = (
		"/plugin_assets/" => "/var/cache/redmine/" + var.X_DEBIAN_SITEID + "/plugin_assets/"
	)
	server.document-root     = "/usr/share/redmine/public/"
	server.indexfiles = ( "dispatch.fcgi" )
	server.error-handler-404 = "/dispatch.fcgi"
	#url.rewrite              = ( "^\/$" => "index.html", "^([^.]+)$" => "$1.html" )
	fastcgi.server += (
		".fcgi" => (
			"redmine" => (
				"min-procs"       => 1,
				# max-procs >= 2 for Upload Progress or other tasks that need a second parallel request
				"max-procs"       => 2,
				"socket"          => "/tmp/redmine-" + var.X_DEBIAN_SITEID + "-fcgi.socket",
				"bin-path"        => "/usr/share/redmine/public/dispatch.fcgi",
				"bin-environment" => (
					"RAILS_RELATIVE_URL_ROOT" => "",
					"X_DEBIAN_SITEID" => var.X_DEBIAN_SITEID
				),
				"kill-signal" => 10 # this is because programs linked against libfcgi need USR1 kill-signal
			)
		)
	)
}