From 514f688fe8bc778e188efa1af75f109cafb3f123 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 28 Jul 2025 23:41:06 -0700 Subject: Fixes virtual pathing nonsense --- cgit.nginx.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cgit.nginx.conf') diff --git a/cgit.nginx.conf b/cgit.nginx.conf index f071c8d..c6fc957 100644 --- a/cgit.nginx.conf +++ b/cgit.nginx.conf @@ -4,6 +4,9 @@ server { server_name localhost; + access_log /var/log/nginx/cgit-access.log; + error_log /var/log/nginx/cgit-error.log; + root /var/www/html/cgit/cgi; try_files $uri @cgit; @@ -18,6 +21,6 @@ server { } location ~ ^/(cgit.css|cgit.png|favicon.ico|header.html|footer.html) { - root /var/www/html/cgit/static; + root /var/www/html/cgit/static/; } } -- cgit v1.2.3-70-g09d2