diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-04-09 19:36:05 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-04-09 19:36:05 +0200 |
commit | a96e294e9772dcaaacc8182f2159abfb0d58c7cd (patch) | |
tree | 295895eb40190fba1ebccaac5666bc84b72b01bc /docker/frontend/etc/nginx/conf.d/default.conf | |
parent | v3.0.0 (diff) | |
download | cgitize-a96e294e9772dcaaacc8182f2159abfb0d58c7cd.tar.gz cgitize-a96e294e9772dcaaacc8182f2159abfb0d58c7cd.zip |
frontend: minimize the image
Diffstat (limited to '')
-rw-r--r-- | docker/frontend/etc/nginx/conf.d/default.conf | 4 |
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/; } } |