Skip to content

Commit ebbb3fc

Browse files
committed
added version & maintainer and adjust indent
1 parent a26325b commit ebbb3fc

File tree

2 files changed

+26
-14
lines changed

2 files changed

+26
-14
lines changed

lighttpd/10-gitlab.conf

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,30 @@
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
}

lighttpd/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2+
Gitlab with lighttpd webserver
3+
==============================
4+
5+
* Maintainer: @tvn
6+
* App Version: 2.8
7+
18
This config access gitlab via TCP port instead of sockets because of the
29
mod_proxy module which seems to be unable to connect via sockets.
310

0 commit comments

Comments
 (0)