From 107490994b47ec5a3aef259ea3555f53845ccec0 Mon Sep 17 00:00:00 2001 From: mbugeia Date: Tue, 17 Mar 2015 17:26:19 +0100 Subject: [PATCH] Fix nginx rewrite Former-commit-id: 2bfcfc26eef301e5d52ae7481849bec45cda6730 --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 1665b98..f249cd8 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -29,7 +29,7 @@ location PATHTOCHANGE { } location /seafhttp { - rewrite ^/seafhttp(.*)$ $1 break; + rewrite ^/seafhttp(.*)$ /seafhttp$1 break; proxy_pass http://127.0.0.1:SEAFILE_FILESERVER_PORT; client_max_body_size 0; proxy_connect_timeout 36000s;