From 9aad2817740179e790cd0b488e7c02102e7e2c7b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 29 Mar 2022 23:40:33 +0300 Subject: frontend: move cgitrc to /etc --- docker/frontend/etc/cgit/cgitrc | 5 ----- docker/frontend/etc/cgitrc | 5 +++++ docker/frontend/etc/nginx/conf.d/default.conf | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 docker/frontend/etc/cgit/cgitrc create mode 100644 docker/frontend/etc/cgitrc (limited to 'docker') diff --git a/docker/frontend/etc/cgit/cgitrc b/docker/frontend/etc/cgit/cgitrc deleted file mode 100644 index 55a97bd..0000000 --- a/docker/frontend/etc/cgit/cgitrc +++ /dev/null @@ -1,5 +0,0 @@ -# Always include this (unless you disagree with my choices, of course). -include=/etc/cgit/common - -root-title=My git repositories -root-desc=Synced using https://github.com/egor-tensin/cgitize diff --git a/docker/frontend/etc/cgitrc b/docker/frontend/etc/cgitrc new file mode 100644 index 0000000..55a97bd --- /dev/null +++ b/docker/frontend/etc/cgitrc @@ -0,0 +1,5 @@ +# Always include this (unless you disagree with my choices, of course). +include=/etc/cgit/common + +root-title=My git repositories +root-desc=Synced using https://github.com/egor-tensin/cgitize diff --git a/docker/frontend/etc/nginx/conf.d/default.conf b/docker/frontend/etc/nginx/conf.d/default.conf index 5a8a206..1fcbf13 100644 --- a/docker/frontend/etc/nginx/conf.d/default.conf +++ b/docker/frontend/etc/nginx/conf.d/default.conf @@ -7,7 +7,6 @@ server { include fastcgi_params; fastcgi_pass unix:/run/fcgiwrap.sock; - fastcgi_param CGIT_CONFIG /etc/cgit/cgitrc; fastcgi_param SCRIPT_FILENAME /usr/lib/cgit/cgit.cgi; # This looks stupid. Can I substitute any variable for $fastcgi_path_info? -- cgit v1.2.3