Seahub (fastcgi) with nginx does not work properly

You can try to deploy seafile server with docker. It would automatically configure nginx and https for you.