cGit-UI for Git Repositories

cGit-UI – is a web interface for Git (git-scm) Repositories. cGit CGI script is writen in C and therefore it's fast enough.

18 Commits   0 Branches   3 Tags   |
Index: README.md
===================================================================
--- README.md	(revision 17)
+++ README.md	(revision 18)
@@ -324,38 +324,7 @@
                    font/truetype font/opentype application/font-woff application/font-woff2
                    application/x-font-ttf application/x-font-opentype application/vnd.ms-fontobject application/font-sfnt;
 
-        #
-        # Serve static content with nginx
-        #
 
-        #
-        # Rewrite rules for versioning CSS + JS thtouh filemtime directive
-        #
-        location ~* ^.+.(css|js)$ {
-            rewrite ^(.+).(d+).(css|js)$ $1.$3 last;
-
-            expires 31536000s;
-
-            access_log off;
-            log_not_found off;
-
-            add_header Pragma public;
-            add_header Cache-Control "max-age=31536000, public";
-        }
-
-        #
-        # Caching of static files
-        #
-        location ~* .(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|ogv|otf|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|t?gz|tif|tiff|ttf|wav|webm|wma|woff|wri|xla|xls|xlsx|xlt|xlw|zip)$ {
-            expires 31536000s;
-
-            access_log off;
-            log_not_found off;
-
-            add_header Pragma public;
-            add_header Cache-Control "max-age=31536000, public";
-        }
-
         location ~* ^.+(favicon.ico|robots.txt) {
             root /var/www/htdocs/cgit;
             expires 30d;