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+ )
49
510## The document root of a virtual host is document-root =
611## 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"
914
1015## the default host if no host is sent
11- simple-vhost.default-host = "YOUR_SERVER_FQDN"
16+ simple-vhost.default-host = "YOUR_SERVER_FQDN"
1217
1318
1419$HTTP["host"] == "YOUR_SERVER_FQDN" {
1520 var.vhost_name = "YOUR_SERVER_FQDN"
21+ var.vhost_path = "/var/www/YOUR_SERVER_FQDN" # This directory should be empty
1622
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
2530}
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+
18This config access gitlab via TCP port instead of sockets because of the
29mod_proxy module which seems to be unable to connect via sockets.
310
You can’t perform that action at this time.
0 commit comments