We should note that if that NGO attack on the hosting service was successful it's mostly because the hosting could be identified and leveraged.
The usual protection is to hide behind Cloudflare.
and be careful to not reveal the IP with adjacent services like emails.
Note that despite universal condemnation, the piratebay is still active and hidden behind Cloudflare owned ips.
For privacy reason, I do not like Cloudflare. But preserving the work of the authors should take precedence.
Another option is to have a .onion address.
The best would be to have both, The visitors keep their privacy and the hosting can't be identified.
If authors want persistence of their life work, embracing IPFS like z-lib did may help.
Rant
Compliance with every single jurisdiction is not possible.
The next hurdle will probably be the age verification constraint from the U.K.
The worst part of this NGO debacle is that amazon.de over which they at least have valid jurisdiction, is littered with worse offending underage text content than SOL and got away scot free...