aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker/frontend/etc
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-09 19:36:05 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-09 19:36:05 +0200
commita96e294e9772dcaaacc8182f2159abfb0d58c7cd (patch)
tree295895eb40190fba1ebccaac5666bc84b72b01bc /docker/frontend/etc
parentv3.0.0 (diff)
downloadcgitize-a96e294e9772dcaaacc8182f2159abfb0d58c7cd.tar.gz
cgitize-a96e294e9772dcaaacc8182f2159abfb0d58c7cd.zip
frontend: minimize the image
Diffstat (limited to 'docker/frontend/etc')
-rw-r--r--docker/frontend/etc/nginx/conf.d/default.conf4
1 files changed, 2 insertions, 2 deletions
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/;
}
}