From 935717aaa53a36710065ac52348b46adcda036b5 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sun, 3 Mar 2024 01:28:15 +0000 Subject: cgit-pink does not support favicon.ico --- etc/nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index 011a9b52..e4311d33 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -173,7 +173,7 @@ http { # - non-capturing group won't capture things inside () which may use later like in sed \1 # - maybe improve a little bit performance by not storing things (not tested, also I did not read the source code) # Serve static files with nginx - location ~ ^/(?:cgit\.(?:css|png)|favicon\.ico|robots\.txt|highlight\.css|mycgit\.css)$ { + location ~ ^/(?:cgit\.(?:css|png)|robots\.txt|highlight\.css|mycgit\.css)$ { root /usr/share/webapps/cgit; expires 30d; } -- cgit v1.2.3-70-g09d2