diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-07-05 10:52:25 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-07-05 14:41:55 +0530 |
| commit | eca86870bf10c064a9f561249491f03c6e750a86 (patch) | |
| tree | 95676411d6f95babd1fdf5231c6fecc44f94cab9 /cgit/nginx/conf.d/default.conf | |
| parent | 2cd9a4039c0c5f524df0a33605c9baef1f57917e (diff) | |
| download | bacchus-remote-eca86870bf10c064a9f561249491f03c6e750a86.tar.gz bacchus-remote-eca86870bf10c064a9f561249491f03c6e750a86.zip | |
Add fork/set-description git commands + optimizations
Diffstat (limited to 'cgit/nginx/conf.d/default.conf')
| -rw-r--r-- | cgit/nginx/conf.d/default.conf | 10 |
1 files changed, 5 insertions, 5 deletions
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; |
