We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d3429f6 + 343b1f5 commit 6f40609Copy full SHA for 6f40609
lighttpd/10-gitlab.conf
@@ -15,8 +15,13 @@ simple-vhost.document-root = "htdocs"
15
## the default host if no host is sent
16
simple-vhost.default-host = "YOUR_SERVER_FQDN"
17
18
-
19
-$HTTP["host"] == "YOUR_SERVER_FQDN" {
+## uploads must be served as static files
+$HTTP["url"] == "^/upload" {
20
+ var.vhost.name = "YOUR_SERVER_FQDN"
21
+ var.vhost.path = "/home/gitlab/gitlab/public"
22
+}
23
+## otherwise everything is proxied
24
+else $HTTP["host"] == "YOUR_SERVER_FQDN" {
25
var.vhost_name = "YOUR_SERVER_FQDN"
26
var.vhost_path = "/var/www/YOUR_SERVER_FQDN" # This directory should be empty
27
0 commit comments