File tree Expand file tree Collapse file tree 2 files changed +26
-14
lines changed Expand file tree Collapse file tree 2 files changed +26
-14
lines changed Original file line number Diff line number Diff line change 1
- server.modules += ( "mod_simple_vhost",
2
- "mod_proxy"
3
- )
1
+ # GITLAB
2
+ # Maintainer: @tvn87
3
+ # App Version: 2.8
4
+
5
+ server.modules += (
6
+ "mod_simple_vhost",
7
+ "mod_proxy"
8
+ )
4
9
5
10
## The document root of a virtual host is document-root =
6
11
## simple-vhost.server-root + $HTTP["host"] + simple-vhost.document-root
7
- simple-vhost.server-root = "/var/www"
8
- simple-vhost.document-root = "htdocs"
12
+ simple-vhost.server-root = "/var/www"
13
+ simple-vhost.document-root = "htdocs"
9
14
10
15
## the default host if no host is sent
11
- simple-vhost.default-host = "YOUR_SERVER_FQDN"
16
+ simple-vhost.default-host = "YOUR_SERVER_FQDN"
12
17
13
18
14
19
$HTTP["host"] == "YOUR_SERVER_FQDN" {
15
20
var.vhost_name = "YOUR_SERVER_FQDN"
21
+ var.vhost_path = "/var/www/YOUR_SERVER_FQDN" # This directory should be empty
16
22
17
- ## This Path is irrelevant for gitlab and should be empty
18
- var.vhost_path = "/var/www/YOUR_SERVER_FQDN"
19
-
20
- proxy.server = ( "" => ( ( "host" => "127.0.0.1",
21
- "port" => "8080"
22
- ),
23
- ))
24
- ssl.pemfile = "/etc/lighttpd/certs/YOUR_SERVER_FQDN.pem"
23
+ proxy.server = ( "" => ( (
24
+ "host" => "127.0.0.1",
25
+ "port" => "8080"
26
+ ),
27
+ )
28
+ )
29
+ ssl.pemfile = "/etc/lighttpd/certs/YOUR_SERVER_FQDN.pem" # If ssl is enabled
25
30
}
Original file line number Diff line number Diff line change
1
+
2
+ Gitlab with lighttpd webserver
3
+ ==============================
4
+
5
+ * Maintainer: @tvn
6
+ * App Version: 2.8
7
+
1
8
This config access gitlab via TCP port instead of sockets because of the
2
9
mod_proxy module which seems to be unable to connect via sockets.
3
10
You can’t perform that action at this time.
0 commit comments