Fix nginx rewrite

Former-commit-id: 2bfcfc26ee
This commit is contained in:
mbugeia 2015-03-17 17:26:19 +01:00
parent d841e11548
commit 107490994b

View file

@ -29,7 +29,7 @@ location PATHTOCHANGE {
} }
location /seafhttp { location /seafhttp {
rewrite ^/seafhttp(.*)$ $1 break; rewrite ^/seafhttp(.*)$ /seafhttp$1 break;
proxy_pass http://127.0.0.1:SEAFILE_FILESERVER_PORT; proxy_pass http://127.0.0.1:SEAFILE_FILESERVER_PORT;
client_max_body_size 0; client_max_body_size 0;
proxy_connect_timeout 36000s; proxy_connect_timeout 36000s;