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; }