Hello, I am still learning. I think it should be compiled from source for the webserver (nginx).
I also included all module requirements for proxy, multi-master replication, communication with the database, LuaJIT, and cache from FastCGI or Redis.
When custom built, there's no need to call the dynamic module. So, it could make it faster. It's my opinion, just for discussion. I apologize for any mistakes in this opinion. Thank you, I hope you are always well and successful.