Added git server and prometheus metrics

This commit is contained in:
2026-02-23 18:43:16 -05:00
parent 43d704a690
commit 09487d9a1f
11 changed files with 754 additions and 10 deletions

View File

@@ -14,11 +14,10 @@ $git_temp = "/tmp";
#$projects_list = $projectroot;
# stylesheet to use
#@stylesheets = ("static/gitweb.css");
@stylesheets = ("/common/catppuccin.css");
# javascript code for gitweb
#$javascript = "static/gitweb.js";
$javascript = "/static/gitweb.js";
# logo to use
#$logo = "static/git-logo.png";

View File

@@ -229,7 +229,7 @@ Group www-data
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin you@example.com
ServerAdmin eric@eom.dev
#
# ServerName gives the name and port that the server uses to identify itself.
@@ -238,7 +238,7 @@ ServerAdmin you@example.com
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80
ServerName eom.dev:443
#
# Deny access to the entirety of your server's filesystem. You must
@@ -294,9 +294,13 @@ DocumentRoot "/usr/local/apache2/htdocs"
# Custom
#
Header add Link "</common/catppuccin.css>; rel=stylesheet; type=text/css"
Header add Link "</common/favicon.ico>; rel=icon; type=image/x-icon"
</Directory>
<Location "/server-status">
SetHandler server-status
Require ip 127.0.0.1/32
</Location>
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.