summaryrefslogtreecommitdiff
path: root/ansible/roles/git/templates/nginx/cgit.conf
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-08-13 16:29:05 +0100
committerJoe Carstairs <me@joeac.net>2026-08-13 16:29:05 +0100
commit954ab1887b20e9e0d5885c1cec8d71641cb3dcd4 (patch)
tree45cb7191fe51f3fa099e8a01e5cd0a0c37e034ec /ansible/roles/git/templates/nginx/cgit.conf
parentf9272fdf3ea23070583c944b110a7b8f16c5a4ff (diff)
remove homelab config
Diffstat (limited to 'ansible/roles/git/templates/nginx/cgit.conf')
-rw-r--r--ansible/roles/git/templates/nginx/cgit.conf17
1 files changed, 0 insertions, 17 deletions
diff --git a/ansible/roles/git/templates/nginx/cgit.conf b/ansible/roles/git/templates/nginx/cgit.conf
deleted file mode 100644
index 456173b..0000000
--- a/ansible/roles/git/templates/nginx/cgit.conf
+++ /dev/null
@@ -1,17 +0,0 @@
-server {
- listen {{ services.git.port }};
- listen [::]:{{ services.git.port }};
- server_name {{ ( subdomains | selectattr('service', 'eq', 'git') | first ).full_domain }};
-
- root /usr/share/webapps/cgit;
- try_files $uri @cgit;
-
- location @cgit {
- include fastcgi_params;
- fastcgi_param SCRIPT_FILENAME /usr/share/webapps/cgit/cgit.cgi;
- fastcgi_param PATH_INFO $uri;
- fastcgi_param QUERY_STRING $args;
- fastcgi_param HTTP_HOST $server_name;
- fastcgi_pass unix:/run/fcgiwrap/fcgiwrap.sock;
- }
-}