From 4e74ca087c11875f67101c8859d57a0162fe5b4c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christopher=20Cot=C3=A9?= Date: Fri, 7 Mar 2025 08:29:50 -0500 Subject: [PATCH] adds gitweb conf, delete old nginx conf --- conf.d/default.conf | 25 ------------------------- gitweb.conf | 9 +++++++++ 2 files changed, 9 insertions(+), 25 deletions(-) delete mode 100644 conf.d/default.conf create mode 100644 gitweb.conf diff --git a/conf.d/default.conf b/conf.d/default.conf deleted file mode 100644 index bae6fbb..0000000 --- a/conf.d/default.conf +++ /dev/null @@ -1,25 +0,0 @@ -server { - listen 80; - server_name home.entropealabs.com; - - - location / { - root /usr/share/nginx/html; - index index.html index.htm; - } - - - error_page 500 502 503 504 /50x.html; - location = /50x.html { - root /usr/share/nginx/html; - } -} - -server { - listen 80; - server_name git.entropealabs.com; - location / { - proxy_pass http://192.168.0.128:8282; - } - -} diff --git a/gitweb.conf b/gitweb.conf new file mode 100644 index 0000000..9db0575 --- /dev/null +++ b/gitweb.conf @@ -0,0 +1,9 @@ +# The directories where your projects are. Must not end with a slash. +our $site_name = "Entropealabs"; +our @stylesheets = "theme/gitweb.css"; +our $logo = "theme/git-logo.png"; +our $favicon = "theme/git-favicon.png"; +our $projectroot = "/srv/git"; + +# Base URLs for links displayed in the web interface. +our @git_base_url_list = "http://localhost"; -- 2.45.3