"Network Error" when uploading files with reverse proxy (letsencrypt/nginx)

Is this right?

And why did you deviate from the “recipe” in the Seafile manual for the nginx.conf?