aboutsummaryrefslogtreecommitdiff
path: root/cgit/nginx/conf.d/default.conf
diff options
context:
space:
mode:
Diffstat (limited to 'cgit/nginx/conf.d/default.conf')
-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;