aboutsummaryrefslogtreecommitdiffstats
path: root/posts/git_server_centos.md
diff options
context:
space:
mode:
authorFran├žois Kooman <fkooman@tuxed.net>2018-05-29 23:13:20 +0200
committerFran├žois Kooman <fkooman@tuxed.net>2018-05-29 23:13:20 +0200
commit1876b034d4d72d6338967f9b2ca78aedcb3dd63b (patch)
tree1c4f52814a2498bf10c0e2b4a27c74ad1a14b589 /posts/git_server_centos.md
parenta843e055cf5744a7e40576a8a83a1120f96cb23f (diff)
downloadwww.tuxed.net-1876b034d4d72d6338967f9b2ca78aedcb3dd63b.zip
www.tuxed.net-1876b034d4d72d6338967f9b2ca78aedcb3dd63b.tar.gz
www.tuxed.net-1876b034d4d72d6338967f9b2ca78aedcb3dd63b.tar.xz
add post, update git post
Diffstat (limited to 'posts/git_server_centos.md')
-rw-r--r--posts/git_server_centos.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/posts/git_server_centos.md b/posts/git_server_centos.md
index 6538c65..ca3703c 100644
--- a/posts/git_server_centos.md
+++ b/posts/git_server_centos.md
@@ -138,6 +138,14 @@ Now restart Apache:
Now you can browse to `https://HOST/cgit` assuming you set up your HTTP server
with TLS.
+If you want to run cgit on its own (sub)domain, you can use the following
+configuration directives in the Apache virtual host, don't forget to update
+the `clone-url` as well:
+
+ DocumentRoot /usr/share/cgit
+ Alias /cgit-data /usr/share/cgit
+ ScriptAlias / /var/www/cgi-bin/cgit/
+
If you are playing with the configuration options, you may need to remove the
cache as cgit will cache the output it sends to the browser: