diff options
Diffstat (limited to 'etc')
-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 4dc30020..4fad34f0 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -205,7 +205,7 @@ http { # - note: I don't think sed support ?: , because POSIX ERE and BRE doesn't seem to support ?: # - 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)|robots\.txt|highlight\.css|mycgit\.css)$ { + location ~ ^/(?:cgit\.(?:css|png|js)|robots\.txt|highlight\.css|mycgit\.css|favicon\.ico)$ { root /usr/share/webapps/cgit; expires 30d; } |