Fix nginx rewrite

This commit is contained in:
mbugeia 2015-03-17 17:26:19 +01:00
parent 74a7313dcb
commit 2bfcfc26ee

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;