xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
Commit 08bf46f86137767e4432222475a3ea31034a132a

Add ServerName and ServerAlias also for TLS virtual host
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-10-04 18:47
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-10-04 18:47
Parent(s): 99a6ed768168adf45bab328c7405cd10a3e3a81d
Signing key:
Tree: 64bf1b06cee8f16018ab105f1f33bd9620f63be2
File Lines added Lines deleted
samples/rg.conf 2 2
File samples/rg.conf changed (mode: 100644) (index 7552fe2..41b2de7)
66 66
67 67 <VirtualHost *:443> <VirtualHost *:443>
68 68 #LogLevel debug #rewrite:trace8 #LogLevel debug #rewrite:trace8
69
69 ServerName rg.domain.tld
70 ServerAlias rg
70 71 DocumentRoot /usr/share/rocketgit/root/ DocumentRoot /usr/share/rocketgit/root/
71
72 72 ErrorLog logs/rocketgit-ssl_error_log ErrorLog logs/rocketgit-ssl_error_log
73 73 CustomLog logs/ssl_request_log \ CustomLog logs/ssl_request_log \
74 74 "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master