aboutsummaryrefslogtreecommitdiff
path: root/cgit/nginx/conf.d
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-07-05 10:52:25 +0530
committerAkshay Nair <phenax5@gmail.com>2026-07-05 14:41:55 +0530
commiteca86870bf10c064a9f561249491f03c6e750a86 (patch)
tree95676411d6f95babd1fdf5231c6fecc44f94cab9 /cgit/nginx/conf.d
parent2cd9a4039c0c5f524df0a33605c9baef1f57917e (diff)
downloadbacchus-remote-eca86870bf10c064a9f561249491f03c6e750a86.tar.gz
bacchus-remote-eca86870bf10c064a9f561249491f03c6e750a86.zip
Add fork/set-description git commands + optimizations
Diffstat (limited to 'cgit/nginx/conf.d')
-rw-r--r--cgit/nginx/conf.d/default.conf10
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;