diff options
Diffstat (limited to 'etc/nginx/nginx.conf')
-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; } |