diff options
| author | Xiao Pan <gky44px1999@gmail.com> | 2024-03-03 01:28:15 +0000 | 
|---|---|---|
| committer | Xiao Pan <gky44px1999@gmail.com> | 2024-03-03 01:28:15 +0000 | 
| commit | 935717aaa53a36710065ac52348b46adcda036b5 (patch) | |
| tree | 7f4c7967ed8278065356c74369f8c84e08f76e78 | |
| parent | 8b63e61068efedd325e3458aa75eddf244d1be5d (diff) | |
cgit-pink does not support favicon.ico
| -rw-r--r-- | etc/nginx/nginx.conf | 2 | 
1 files changed, 1 insertions, 1 deletions
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;          }  | 
