Deploying git server and prometheus metrics
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
LoadModule rewrite_module modules/mod_rewrite.so
|
||||
LoadModule cgi_module modules/mod_cgi.so
|
||||
|
||||
SetEnv GIT_PROJECT_ROOT /usr/local/apache2/htdocs/archive/Repositories/git
|
||||
SetEnv GIT_PROJECT_ROOT /usr/local/apache2/htdocs/archive/Repositories
|
||||
SetEnv GIT_HTTP_EXPORT_ALL
|
||||
ScriptAliasMatch \
|
||||
"(?x)^/git/(.*/(HEAD | \
|
||||
@@ -12,7 +12,7 @@ ScriptAliasMatch \
|
||||
git-(upload|receive)-pack))$" \
|
||||
/usr/lib/git-core/git-http-backend/$1
|
||||
|
||||
ScriptAlias /archive/Repositories/git/ /usr/lib/cgi-bin/gitweb.cgi/
|
||||
ScriptAlias /archive/Repositories/ /usr/lib/cgi-bin/gitweb.cgi/
|
||||
|
||||
<Directory "/usr/lib/git-core">
|
||||
Options +ExecCGI +Indexes
|
||||
|
||||
Reference in New Issue
Block a user