Working NGINX subfolder configuration?

Does anyone have a working conf file for NGINX to get Seafile working with a subfolder instead of a subdomain?