From a697431cedc9bb005f38d209c18657db4f31a596 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Tue, 25 Aug 2026 22:40:31 +0100 Subject: serves git over https:// and git:// --- roles/git/templates/nginx/cgit.conf | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 roles/git/templates/nginx/cgit.conf (limited to 'roles/git/templates/nginx/cgit.conf') diff --git a/roles/git/templates/nginx/cgit.conf b/roles/git/templates/nginx/cgit.conf deleted file mode 100644 index 7d29608..0000000 --- a/roles/git/templates/nginx/cgit.conf +++ /dev/null @@ -1,20 +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; - - access_log /var/log/nginx/git.joeac.net/access.log; - error_log /var/log/nginx/git.joeac.net/error.log; - - 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; - } -} -- cgit v1.2.3