From a96e294e9772dcaaacc8182f2159abfb0d58c7cd Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 9 Apr 2022 19:36:05 +0200 Subject: frontend: minimize the image --- docker/frontend/etc/nginx/conf.d/default.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/frontend/etc/nginx/conf.d/default.conf') diff --git a/docker/frontend/etc/nginx/conf.d/default.conf b/docker/frontend/etc/nginx/conf.d/default.conf index 1fcbf13..dc27e85 100644 --- a/docker/frontend/etc/nginx/conf.d/default.conf +++ b/docker/frontend/etc/nginx/conf.d/default.conf @@ -7,7 +7,7 @@ server { include fastcgi_params; fastcgi_pass unix:/run/fcgiwrap.sock; - fastcgi_param SCRIPT_FILENAME /usr/lib/cgit/cgit.cgi; + fastcgi_param SCRIPT_FILENAME /usr/share/webapps/cgit/cgit.cgi; # This looks stupid. Can I substitute any variable for $fastcgi_path_info? fastcgi_split_path_info ^(/?)(.+)$; @@ -15,6 +15,6 @@ server { } location /cgit/ { - alias /usr/share/cgit/; + alias /usr/share/webapps/cgit/; } } -- cgit v1.2.3