From eca86870bf10c064a9f561249491f03c6e750a86 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 5 Jul 2026 10:52:25 +0530 Subject: Add fork/set-description git commands + optimizations --- cgit/nginx/conf.d/default.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cgit/nginx/conf.d/default.conf') diff --git a/cgit/nginx/conf.d/default.conf b/cgit/nginx/conf.d/default.conf index a850744..7254ffa 100644 --- a/cgit/nginx/conf.d/default.conf +++ b/cgit/nginx/conf.d/default.conf @@ -3,15 +3,15 @@ server { server_name localhost; root /usr/share/webapps/cgit; - location / { - try_files $uri @cgit; - } - - location ~* ^.+(favicon.ico|robots.txt) { + location ~* ^.+(ediblemonad.+|favicon.ico|robots.txt) { root /usr/share/webapps/cgit; expires 30d; } + location / { + try_files $uri @cgit; + } + location @cgit { include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root/cgit.cgi; -- cgit v1.3.1