Deploying git server and prometheus metrics

This commit is contained in:
2026-02-23 20:39:02 -05:00
parent 9a51a1b91f
commit 8307cdd74d
7 changed files with 408 additions and 44 deletions

View File

@@ -138,7 +138,7 @@ LoadModule headers_module modules/mod_headers.so
#LoadModule unique_id_module modules/mod_unique_id.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
#LoadModule remoteip_module modules/mod_remoteip.so
LoadModule remoteip_module modules/mod_remoteip.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
@@ -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
@@ -296,6 +296,14 @@ DocumentRoot "/usr/local/apache2/htdocs"
Header add Link "</common/catppuccin.css>; rel=stylesheet; type=text/css"
</Directory>
<Location "/server-status">
SetHandler server-status
Require host localhost
</Location>
RemoteIPHeader X-Forwarded-For
RemoteIPTrustedProxy 10.0.0.0/8
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.