From dda31121730b96e2fb5be17a9fb415b2486c7c7d Mon Sep 17 00:00:00 2001 From: mbugeia Date: Fri, 20 Feb 2015 16:56:37 +0100 Subject: [PATCH] Add missing rewrite Former-commit-id: 409f3c7c0bdbfb1f5ee8a56d64b1b32607e69852 --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 123cc73..a537ad1 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -38,5 +38,6 @@ location /seafhttp { location PATHTOCHANGE/media { + rewrite ^PATHTOCHANGE/media(.*)$ /media$1 break; root ALIASTOCHANGEseafile-server-latest/seahub; }