From c48fbfb7b85d9c5264be1d68063b8ac3af9e2899 Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Wed, 17 Sep 2025 18:20:38 +0200 Subject: Initial commit --- apache.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 apache.conf (limited to 'apache.conf') diff --git a/apache.conf b/apache.conf new file mode 100644 index 0000000..57a9d9d --- /dev/null +++ b/apache.conf @@ -0,0 +1,19 @@ +ScriptSock ${APACHE_RUN_DIR}/cgi.sock + + + DocumentRoot /var/www/html + + Require all granted + Header set Cache-Control "public, max-age=3600" + + + Require all granted + Header set Cache-Control "private" + + + RedirectRelative On + RedirectMatch 302 ^/(cgit)?$ /cgit/ + ScriptAlias /cgit/ "/usr/lib/cgit/cgit.cgi/" + + IncludeOptional /mnt/apache.conf + -- cgit v1.2.3